llvm-6502/lib
Chris Lattner 6270f686b3 Eliminate more token factors by taking advantage of transitivity:
if TF depends on A and B, and A depends on B, TF just needs to depend on
A.  With Jim's alias-analysis stuff enabled, this compiles the testcase in
PR892 into:

__Z4test3Val:
        subl $44, %esp
        call L__Z3foov$stub
        movl %edx, 28(%esp)
        movl %eax, 32(%esp)
        movl %eax, 24(%esp)
        movl %edx, 36(%esp)
        movl 52(%esp), %ecx
        movl %ecx, 4(%esp)
        movl %eax, 8(%esp)
        movl %edx, 12(%esp)
        movl 48(%esp), %eax
        movl %eax, (%esp)
        call L__Z3bar3ValS_$stub
        addl $44, %esp
        ret

instead of:

__Z4test3Val:
        subl $44, %esp
        call L__Z3foov$stub
        movl %eax, 24(%esp)
        movl %edx, 28(%esp)
        movl 24(%esp), %eax
        movl %eax, 32(%esp)
        movl 28(%esp), %eax
        movl %eax, 36(%esp)
        movl 32(%esp), %eax
        movl 36(%esp), %ecx
        movl 52(%esp), %edx
        movl %edx, 4(%esp)
        movl %eax, 8(%esp)
        movl %ecx, 12(%esp)
        movl 48(%esp), %eax
        movl %eax, (%esp)
        call L__Z3bar3ValS_$stub
        addl $44, %esp
        ret


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30821 91177308-0d34-0410-b5e6-96231b3b80d8
2006-10-08 22:57:01 +00:00
..
Analysis Fix more static dtor issues 2006-10-04 21:52:35 +00:00
Archive For PR797: 2006-08-25 19:54:53 +00:00
AsmParser Eliminate ConstantBool::True and ConstantBool::False. Instead, provide 2006-09-28 23:35:22 +00:00
Bytecode Small fixes for supporting dll* linkage types 2006-09-17 13:06:18 +00:00
CodeGen Eliminate more token factors by taking advantage of transitivity: 2006-10-08 22:57:01 +00:00
Debugger For PR797: 2006-08-25 17:43:11 +00:00
ExecutionEngine Unbreak the JIT 2006-09-15 04:56:11 +00:00
Linker Adding dllimport, dllexport and external weak linkage types. 2006-09-14 18:23:27 +00:00
Support Fix a static dtor issue 2006-10-04 22:13:11 +00:00
System Use new config.h macro 2006-09-14 06:21:59 +00:00
Target completely disable folding of loads into scalar sse instructions and provide 2006-10-07 21:55:32 +00:00
Transforms add a new SimplifyDemandedVectorElts method, which works similarly to 2006-10-05 06:55:50 +00:00
VMCore Add insertelement/extractelement helper ctors. 2006-10-05 06:24:58 +00:00
Makefile Make some changes suggested by Chris: 2006-05-17 22:55:35 +00:00