Skip to content
  1. Jun 07, 2007
  2. Jun 06, 2007
  3. Jun 05, 2007
  4. Jun 04, 2007
  5. Jun 03, 2007
  6. Jun 02, 2007
  7. Jun 01, 2007
  8. May 31, 2007
  9. May 30, 2007
  10. May 29, 2007
  11. May 24, 2007
  12. May 23, 2007
  13. May 19, 2007
    • Chris Lattner's avatar
      Fix Transforms/InstCombine/2007-05-18-CastFoldBug.ll, a bug that devastates · a655a157
      Chris Lattner authored
      objc code due to the way the FE lowers objc message sends.
      
      llvm-svn: 37256
      a655a157
    • Chris Lattner's avatar
      Handle negative strides much more optimally. This compiles X86/lsr-negative-stride.ll · e8bd53c3
      Chris Lattner authored
      into:
      
      _t:
              movl 8(%esp), %ecx
              movl 4(%esp), %eax
              cmpl %ecx, %eax
              je LBB1_3       #bb17
      LBB1_1: #bb
              cmpl %ecx, %eax
              jg LBB1_4       #cond_true
      LBB1_2: #cond_false
              subl %eax, %ecx
              cmpl %ecx, %eax
              jne LBB1_1      #bb
      LBB1_3: #bb17
              ret
      LBB1_4: #cond_true
              subl %ecx, %eax
              cmpl %ecx, %eax
              jne LBB1_1      #bb
              jmp LBB1_3      #bb17
      
      instead of:
      
      _t:
              subl $4, %esp
              movl %esi, (%esp)
              movl 12(%esp), %ecx
              movl 8(%esp), %eax
              cmpl %ecx, %eax
              je LBB1_4       #bb17
      LBB1_1: #bb.outer
              movl %ecx, %edx
              negl %edx
      LBB1_2: #bb
              cmpl %ecx, %eax
              jle LBB1_5      #cond_false
      LBB1_3: #cond_true
              addl %edx, %eax
              cmpl %ecx, %eax
              jne LBB1_2      #bb
      LBB1_4: #bb17
              movl (%esp), %esi
              addl $4, %esp
              ret
      LBB1_5: #cond_false
              movl %ecx, %edx
              subl %eax, %edx
              movl %eax, %esi
              addl %esi, %esi
              cmpl %ecx, %esi
              je LBB1_4       #bb17
      LBB1_6: #cond_false.bb.outer_crit_edge
              movl %edx, %ecx
              jmp LBB1_1      #bb.outer
      
      llvm-svn: 37252
      e8bd53c3
Loading