Skip to content
  1. Jun 06, 2012
    • Jakob Stoklund Olesen's avatar
      Don't print register names in LiveIntervalUnion::print(). · 46d229c5
      Jakob Stoklund Olesen authored
      Soon we'll be making LiveIntervalUnions for register units as well.
      
      This was the only place using the RepReg member, so just remove it.
      
      llvm-svn: 158038
      46d229c5
    • Matt Beaumont-Gay's avatar
      Suppress -Wunused-variable in -Asserts build · 7ba769be
      Matt Beaumont-Gay authored
      llvm-svn: 158037
      7ba769be
    • Jakob Stoklund Olesen's avatar
      Simplify LiveInterval::print(). · f3f7d6f6
      Jakob Stoklund Olesen authored
      Don't print out the register number and spill weight, making the TRI
      argument unnecessary.
      
      This allows callers to interpret the reg field. It can currently be a
      virtual register, a physical register, a spill slot, or a register unit.
      
      llvm-svn: 158031
      f3f7d6f6
    • Jakob Stoklund Olesen's avatar
      Add experimental support for register unit liveness. · 12e03dae
      Jakob Stoklund Olesen authored
      Instead of computing a live interval per physreg, LiveIntervals can
      compute live intervals per register unit. This makes impossible the
      confusing situation where aliasing registers could have overlapping live
      intervals. It should also make fixed interferernce checking cheaper
      since registers have fewer register units than aliases.
      
      Live intervals for regunits are computed on demand, using MRI use-def
      chains and the new LiveRangeCalc class. Only regunits live in to ABI
      blocks are precomputed during LiveIntervals::runOnMachineFunction().
      
      The regunit liveness computations don't depend on LiveVariables.
      
      llvm-svn: 158029
      12e03dae
  2. Jun 05, 2012
  3. Jun 04, 2012
  4. Jun 02, 2012
  5. Jun 01, 2012
  6. May 31, 2012
    • Manman Ren's avatar
      X86: replace SUB with CMP if possible · 9bccb64e
      Manman Ren authored
      This patch will optimize the following
              movq    %rdi, %rax
              subq    %rsi, %rax
              cmovsq  %rsi, %rdi
              movq    %rdi, %rax
      to
              cmpq    %rsi, %rdi
              cmovsq  %rsi, %rdi
              movq    %rdi, %rax
      
      Perform this optimization if the actual result of SUB is not used.
      
      rdar: 11540023
      llvm-svn: 157755
      9bccb64e
  7. May 30, 2012
Loading