Skip to content
  1. May 30, 2008
  2. May 29, 2008
  3. May 28, 2008
  4. May 27, 2008
  5. May 26, 2008
    • Bill Wendling's avatar
      The enabling of remat in 2-address conversion breaks this test: · 2e8c8289
      Bill Wendling authored
      Running /Users/void/llvm/llvm.src/test/CodeGen/X86/dg.exp ...
      FAIL: /Users/void/llvm/llvm.src/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll
      Failed with exit(1) at line 1
      while running: llvm-as < /Users/void/llvm/llvm.src/test/CodeGen/X86/2007-11-30-LoadFolding-Bug.ll | llc -march=x86 -mattr=+sse2 -stats |&  grep {1 .*folded into instructions}
      child process exited abnormally
      
      Make this conditional for now.
      
      llvm-svn: 51563
      2e8c8289
    • Bill Wendling's avatar
      A problem that's exposed when machine LICM is enabled. Consider this code: · c737e463
      Bill Wendling authored
      LBB1_3:   # bb
      ...
              xorl    %ebp, %ebp
              subl    (%ebx), %ebp
      ...
              incl    %ecx
              cmpl    %edi, %ecx
              jl      LBB1_3  # bb
      
      Whe using machine LICM, LLVM converts it into:
      
              xorl %esi, %esi
      LBB1_3: # bb
      ...
              movl    %esi, %ebp
              subl    (%ebx), %ebp
      ...
              incl    %ecx
              cmpl    %edi, %ecx
              jl      LBB1_3  # bb
      
      Two address conversion inserts the copy instruction. However, it's cheaper to
      rematerialize it, and remat helps reduce register pressure.
      
      llvm-svn: 51562
      c737e463
  6. May 24, 2008
  7. May 23, 2008
  8. May 22, 2008
    • David Greene's avatar
      · 83048703
      David Greene authored
      When rewriting defs and uses after spilling, don't set the weight of a
      live interval to infinity if the instruction being rewritten is an
      original remat def instruction.  We were only checking against the clone
      of the remat def which doesn't actually appear in the IR at all.
      
      llvm-svn: 51440
      83048703
    • David Greene's avatar
      · 54b52fe1
      David Greene authored
      Don't attempt to update SpillSlotToUsesMap for stack slots that aren't
      generated by the spiller.
      
      llvm-svn: 51439
      54b52fe1
    • Evan Cheng's avatar
      Fix PR2343. An *interesting* coalescer bug. · a5d27ae5
      Evan Cheng authored
      BB1:                                                                                                                                                  
        vr1025 = copy vr1024                                                                                                                                
        ..                                                                                                                                                  
      BB2:                                                                                                                                                  
        vr1024 = op                                                                                                                                         
               = op vr1025                                                                                                                                     
        <loop eventually branch back to BB1>
      
      Even though vr1025 is copied from vr1024, it's not safe to coalesced them since live range of vr1025 intersects the def of vr1024. This happens when vr1025 is assigned the value of the previous iteration of vr1024 in the loop.
      
      llvm-svn: 51394
      a5d27ae5
  9. May 20, 2008
  10. May 19, 2008
  11. May 16, 2008
  12. May 15, 2008
Loading