llvm-6502/lib
Chris Lattner 44205cadba Compile:
long long X3_2(long long Y) { return Y+Y; }
int X(int Y) { return Y+Y; }

into:

X3_2:
        movl 4(%esp), %eax
        movl 8(%esp), %edx
        addl %eax, %eax
        adcl %edx, %edx
        ret
X:
        movl 4(%esp), %eax
        addl %eax, %eax
        ret

instead of:

X3_2:
        movl 4(%esp), %eax
        movl 8(%esp), %edx
        shldl $1, %eax, %edx
        shll $1, %eax
        ret

X:
        movl 4(%esp), %eax
        shll $1, %eax
        ret


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17705 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-13 20:03:48 +00:00
..
Analysis Make this build in release mode 2004-11-11 22:11:17 +00:00
Archive Recognize compressed LLVM bytecode files. 2004-11-09 19:37:07 +00:00
AsmParser
Bytecode Recognize compressed LLVM bytecode files. 2004-11-09 19:37:07 +00:00
CodeGen Do not make i have bigger scope that we need 2004-11-05 04:47:37 +00:00
Debugger
ExecutionEngine Implement ExecutionEngine::freeMachineCodeForFunction() 2004-11-07 23:58:46 +00:00
Linker Makefile for lib/Linker 2004-11-12 20:38:45 +00:00
Support Tune compression: 2004-11-09 17:58:09 +00:00
System Fix isBytecodeFile to correctly recognized compressed bytecode too. 2004-11-09 20:27:23 +00:00
Target Compile: 2004-11-13 20:03:48 +00:00
Transforms Simplify handling of shifts to be the same as we do for adds. Add support 2004-11-13 19:50:12 +00:00
VMCore Stop propagating method names that violate the coding standard 2004-11-05 22:15:36 +00:00
Makefile