llvm-6502/lib
Chris Lattner 903236468c More aggressively sink GEP offsets into loops. For example, before we
generated:

        movl 8(%esp), %eax
        movl %eax, %edx
        addl $4316, %edx
        cmpb $1, %cl
        ja LBB1_2       #cond_false
LBB1_1: #cond_true
        movl L_QuantizationTables720$non_lazy_ptr, %ecx
        movl %ecx, (%edx)
        movl L_QNOtoQuantTableShift720$non_lazy_ptr, %edx
        movl %edx, 4460(%eax)
        ret
...

Now we generate:

        movl 8(%esp), %eax
        cmpb $1, %cl
        ja LBB1_2       #cond_false
LBB1_1: #cond_true
        movl L_QuantizationTables720$non_lazy_ptr, %ecx
        movl %ecx, 4316(%eax)
        movl L_QNOtoQuantTableShift720$non_lazy_ptr, %ecx
        movl %ecx, 4460(%eax)
        ret

... which uses one fewer register.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28129 91177308-0d34-0410-b5e6-96231b3b80d8
2006-05-05 21:17:49 +00:00
..
Analysis Implement Transforms/IndVarsSimplify/complex-scev.ll, a case where we didn't 2006-04-26 18:34:07 +00:00
Archive
AsmParser Make sure CVS versions of yacc and lex files get distributed. 2006-04-12 20:57:05 +00:00
Bytecode
CodeGen More aggressively sink GEP offsets into loops. For example, before we 2006-05-05 21:17:49 +00:00
Debugger Add the README files to the distribution. 2006-04-13 06:39:24 +00:00
ExecutionEngine Adjust to use proper TargetData copy ctor 2006-05-04 21:18:40 +00:00
Linker
Support Fix PR743: emit -help output of a tool to cout, not cerr. 2006-04-28 05:36:25 +00:00
System Mingw32 patches supplied by Anton Korobeynikov. 2006-04-29 18:41:44 +00:00
Target Need extload patterns after Chris' DAG combiner changes 2006-05-05 08:23:07 +00:00
Transforms Fix an infinite loop compiling oggenc last night. 2006-05-05 20:51:30 +00:00
VMCore Add assertions that verify that the actual arguments to a call or invoke match 2006-05-03 00:48:22 +00:00
Makefile