Skip to content
  • Evan Cheng's avatar
    - Add pseudo instructions tLDRpci_pic and t2LDRpci_pic which does a pc-relative · 207b2466
    Evan Cheng authored
      load of a GV from constantpool and then add pc. It allows the code sequence to
      be rematerializable so it would be hoisted by machine licm.
    - Add a late pass to break these pseudo instructions into a number of real
      instructions. Also move the code in Thumb2 IT pass that breaks up t2MOVi32imm
      to this pass. This is done before post regalloc scheduling to allow the
      scheduler to proper schedule these instructions. It also allow them to be
      if-converted and shrunk by later passes.
    
    llvm-svn: 86304
    207b2466
Loading