Skip to content
  1. Sep 13, 2006
    • Chris Lattner's avatar
      If LSR went through a lot of trouble to put constants (e.g. the addr of a global · 84cc1f7c
      Chris Lattner authored
      in a specific BB, don't undo this!).  This allows us to compile
      CodeGen/X86/loop-hoist.ll into:
      
      _foo:
              xorl %eax, %eax
      ***     movl L_Arr$non_lazy_ptr, %ecx
              movl 4(%esp), %edx
      LBB1_1: #cond_true
              movl %eax, (%ecx,%eax,4)
              incl %eax
              cmpl %edx, %eax
              jne LBB1_1      #cond_true
      LBB1_2: #return
              ret
      
      instead of:
      
      _foo:
              xorl %eax, %eax
              movl 4(%esp), %ecx
      LBB1_1: #cond_true
      ***     movl L_Arr$non_lazy_ptr, %edx
              movl %eax, (%edx,%eax,4)
              incl %eax
              cmpl %ecx, %eax
              jne LBB1_1      #cond_true
      LBB1_2: #return
              ret
      
      This was noticed in 464.h264ref.  This doesn't usually affect PPC,
      but strikes X86 all the time.
      
      llvm-svn: 30290
      84cc1f7c
    • Chris Lattner's avatar
      Fix a regression in the 32-bit port from the 64-bit port landing. · 706dd3e0
      Chris Lattner authored
      We now compile CodeGen/X86/lea-2.ll into:
      
      _test:
              movl 4(%esp), %eax
              movl 8(%esp), %ecx
              leal -5(%ecx,%eax,4), %eax
              ret
      
      instead of:
      
      _test:
              movl 4(%esp), %eax
              leal (,%eax,4), %eax
              addl 8(%esp), %eax
              addl $4294967291, %eax
              ret
      
      llvm-svn: 30288
      706dd3e0
    • Chris Lattner's avatar
      new note · e413fea6
      Chris Lattner authored
      llvm-svn: 30286
      e413fea6
    • Chris Lattner's avatar
      new note · 3496710f
      Chris Lattner authored
      llvm-svn: 30285
      3496710f
    • Chris Lattner's avatar
      Compile X << 1 (where X is a long-long) to: · 72b503bc
      Chris Lattner authored
              addl %ecx, %ecx
              adcl %eax, %eax
      
      instead of:
      
              movl %ecx, %edx
              addl %edx, %edx
              shrl $31, %ecx
              addl %eax, %eax
              orl %ecx, %eax
      
      and to:
      
              addc r5, r5, r5
              adde r4, r4, r4
      
      instead of:
      
              slwi r2,r9,1
              srwi r0,r11,31
              slwi r3,r11,1
              or r2,r0,r2
      
      on PPC.
      
      llvm-svn: 30284
      72b503bc
    • Chris Lattner's avatar
      Compile X > -1 -> text X,X; js dest · 7a627676
      Chris Lattner authored
      This implements CodeGen/X86/jump_sign.ll.
      
      llvm-svn: 30283
      7a627676
    • Devang Patel's avatar
      Initialize DontInternalize. · fab4972a
      Devang Patel authored
      llvm-svn: 30281
      fab4972a
  2. Sep 12, 2006
  3. Sep 11, 2006
  4. Sep 10, 2006
  5. Sep 09, 2006
  6. Sep 08, 2006
Loading