llvm-6502/lib
Chris Lattner c970f062e0 If LSR went through a lot of trouble to put constants (e.g. the addr of a global
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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30290 91177308-0d34-0410-b5e6-96231b3b80d8
2006-09-13 06:02:42 +00:00
..
Analysis Untabify. 2006-09-07 23:29:19 +00:00
Archive For PR797: 2006-08-25 19:54:53 +00:00
AsmParser regenerate 2006-08-18 17:34:45 +00:00
Bytecode - Fixed broken Win32 build 2006-09-01 20:35:17 +00:00
CodeGen If LSR went through a lot of trouble to put constants (e.g. the addr of a global 2006-09-13 06:02:42 +00:00
Debugger For PR797: 2006-08-25 17:43:11 +00:00
ExecutionEngine Reflect MachineConstantPoolEntry changes. 2006-09-12 20:59:59 +00:00
Linker Remove a redundant syscall. 2006-07-28 22:52:11 +00:00
Support Instantiate Statistic<> in one place, not in every .o file that uses it. 2006-08-30 04:17:00 +00:00
System - Fixed broken Win32 build 2006-09-01 20:35:17 +00:00
Target Fix a regression in the 32-bit port from the 64-bit port landing. 2006-09-13 04:45:25 +00:00
Transforms Initialize DontInternalize. 2006-09-13 01:02:26 +00:00
VMCore Add new option to leave asm names alone 2006-09-07 18:20:41 +00:00
Makefile Make some changes suggested by Chris: 2006-05-17 22:55:35 +00:00