Skip to content
  1. May 17, 2012
  2. May 16, 2012
    • Jakob Stoklund Olesen's avatar
      Set sub-register <undef> flags more accurately. · ab482839
      Jakob Stoklund Olesen authored
      When widening an existing <def,reads-undef> operand to a super-register,
      it may be necessary to clear the <undef> flag because the wider register
      is now read-modify-write through the instruction.
      
      Conversely, it may be necessary to add an <undef> flag when the
      coalescer turns a full-register def into a sub-register def, but the
      larger register wasn't live before the instruction.
      
      This happens in test/CodeGen/ARM/coalesce-subregs.ll, but the test
      is too small for the <undef> flags to affect the generated code.
      
      llvm-svn: 156951
      ab482839
    • Duncan Sands's avatar
      Fix a thinko in DisintegrateMERGE_VALUES. Patch by Xiaoyi Guo. · 49080cd9
      Duncan Sands authored
      llvm-svn: 156909
      49080cd9
    • Jakob Stoklund Olesen's avatar
      Enable sub-sub-register copy coalescing. · 984997b3
      Jakob Stoklund Olesen authored
      It is now possible to coalesce weird skewed sub-register copies by
      picking a super-register class larger than both original registers. The
      included test case produces code like this:
      
        vld2.32 {d16, d17, d18, d19}, [r0]!
        vst2.32 {d18, d19, d20, d21}, [r0]
      
      We still perform interference checking as if it were a normal full copy
      join, so this is still quite conservative. In particular, the f1 and f2
      functions in the included test case still have remaining copies because
      of false interference.
      
      llvm-svn: 156878
      984997b3
    • Jakob Stoklund Olesen's avatar
      Teach RegisterCoalescer to handle symmetric sub-register copies. · a1626369
      Jakob Stoklund Olesen authored
      It is possible to coalesce two overlapping registers to a common
      super-register that it larger than both of the original registers.
      
      The important difference is that it may be necessary to rewrite DstReg
      operands as well as SrcReg operands because the sub-register index has
      changed.
      
      This behavior is still disabled by CoalescerPair.
      
      llvm-svn: 156869
      a1626369
    • Jakob Stoklund Olesen's avatar
      Handle NewReg==OldReg in renameRegister(). · 385970f2
      Jakob Stoklund Olesen authored
      This can happen when widening a virtual register to a super-register
      class.
      
      llvm-svn: 156867
      385970f2
    • Jakob Stoklund Olesen's avatar
      We never call adjustCopiesBackFrom() for partial copies. · 1c6a2223
      Jakob Stoklund Olesen authored
      There is no need to look at an always null SrcIdx.
      
      llvm-svn: 156866
      1c6a2223
  3. May 15, 2012
  4. May 14, 2012
  5. May 12, 2012
  6. May 11, 2012
  7. May 10, 2012
  8. May 08, 2012
Loading