Skip to content
  1. Nov 01, 2006
    • Chris Lattner's avatar
      enable branch folding with an option · 3ac71b31
      Chris Lattner authored
      llvm-svn: 31335
      3ac71b31
    • Evan Cheng's avatar
      Add constraints to Instruction class. · 7a6a5b9a
      Evan Cheng authored
      llvm-svn: 31332
      7a6a5b9a
    • Andrew Lenharth's avatar
      more shotenning · dfbf91e5
      Andrew Lenharth authored
      llvm-svn: 31331
      dfbf91e5
    • Chris Lattner's avatar
      Compile CodeGen/PowerPC/fp-branch.ll to: · fe43befe
      Chris Lattner authored
      _intcoord_cond_next55:
      LBB1_3: ;cond_next55
              lis r2, ha16(LCPI1_0)
              lfs f0, lo16(LCPI1_0)(r2)
              fcmpu cr0, f1, f0
              blt cr0, LBB1_2 ;cond_next62.exitStub
      LBB1_1: ;bb72.exitStub
              li r3, 1
              blr
      LBB1_2: ;cond_next62.exitStub
              li r3, 0
              blr
      
      instead of:
      
      _intcoord_cond_next55:
      LBB1_3: ;cond_next55
              lis r2, ha16(LCPI1_0)
              lfs f0, lo16(LCPI1_0)(r2)
              fcmpu cr0, f1, f0
              bge cr0, LBB1_1 ;bb72.exitStub
      LBB1_4: ;cond_next55
              lis r2, ha16(LCPI1_0)
              lfs f0, lo16(LCPI1_0)(r2)
              fcmpu cr0, f1, f0
              bnu cr0, LBB1_2 ;cond_next62.exitStub
      LBB1_1: ;bb72.exitStub
              li r3, 1
              blr
      LBB1_2: ;cond_next62.exitStub
              li r3, 0
              blr
      
      llvm-svn: 31330
      fe43befe
  2. Oct 31, 2006
  3. Oct 30, 2006
  4. Oct 29, 2006
    • Chris Lattner's avatar
      Add a new llvm::Allocator abstraction, which will be used by a container · b9de9037
      Chris Lattner authored
      I'm about to add.  This is similar to, but necessarily different than, the
      STL allocator class.
      
      llvm-svn: 31285
      b9de9037
    • Chris Lattner's avatar
      Fix SimplifyCFG/2006-10-29-InvokeCrash.ll, a crash compiling QT. · fc519cd2
      Chris Lattner authored
      llvm-svn: 31284
      fc519cd2
    • Chris Lattner's avatar
      Make CanFallThrough more intelligent (so it can handle blocks with (e.g.) no · 504eeda3
      Chris Lattner authored
      successors), and make island block movement more general.
      
      This compiles CodeGen/X86/2006-04-27-ISelFoldingBug.ll to:
      
      _loadAndRLEsource_no_exit_2E_1_label_2E_0:
              subl $8, %esp
              movl %esi, 4(%esp)
              movl %ebx, (%esp)
              movl 16(%esp), %eax
              movl 12(%esp), %ecx
      LBB1_3: #label.0
              movl _last, %edx
              movl %edx, %esi
              incl %esi
              movl %esi, _last
              movl %ecx, %ebx
              # TRUNCATE movb %bl, %bl
              movl _block, %esi
              movb %bl, 1(%esi,%edx)
              cmpl %eax, _last
              jge LBB1_2      #codeRepl5.exitStub
      LBB1_4: #label.0
              cmpl $257, %ecx
              je LBB1_2       #codeRepl5.exitStub
      LBB1_1: #label.0.no_exit.1_crit_edge.exitStub
              movl $1, %eax
              movl (%esp), %ebx
              movl 4(%esp), %esi
              addl $8, %esp
              ret
      LBB1_2: #codeRepl5.exitStub
              xorl %eax, %eax
              movl (%esp), %ebx
              movl 4(%esp), %esi
              addl $8, %esp
              ret
      
      instead of:
      
      _loadAndRLEsource_no_exit_2E_1_label_2E_0:
              subl $8, %esp
              movl %esi, 4(%esp)
              movl %ebx, (%esp)
              movl 16(%esp), %eax
              movl 12(%esp), %ecx
              jmp LBB1_3      #label.0
      LBB1_1: #label.0.no_exit.1_crit_edge.exitStub
              movl $1, %eax
              movl (%esp), %ebx
              movl 4(%esp), %esi
              addl $8, %esp
              ret
      LBB1_2: #codeRepl5.exitStub
              xorl %eax, %eax
              movl (%esp), %ebx
              movl 4(%esp), %esi
              addl $8, %esp
              ret
      LBB1_3: #label.0
              movl _last, %edx
              movl %edx, %esi
              incl %esi
              movl %esi, _last
              movl %ecx, %ebx
              # TRUNCATE movb %bl, %bl
              movl _block, %esi
              movb %bl, 1(%esi,%edx)
              cmpl %eax, _last
              jge LBB1_2      #codeRepl5.exitStub
      LBB1_4: #label.0
              cmpl $257, %ecx
              jne LBB1_1      #label.0.no_exit.1_crit_edge.exitStub
              jmp LBB1_2      #codeRepl5.exitStub
      
      ... which is much better layout :)
      
      llvm-svn: 31282
      504eeda3
    • Chris Lattner's avatar
      fix Generic/2006-10-29-Crash.ll · e60ae823
      Chris Lattner authored
      llvm-svn: 31281
      e60ae823
    • Chris Lattner's avatar
      Fix a load folding issue that Evan noticed: there is no need to export values · f31b9ef4
      Chris Lattner authored
      used by comparisons in the main block.
      
      llvm-svn: 31279
      f31b9ef4
    • Jim Laskey's avatar
      Try again. · 179ebd3f
      Jim Laskey authored
      llvm-svn: 31278
      179ebd3f
Loading