llvm-6502/lib
Christopher Lamb 7a0678cae6 Fold subtracts into integer compares vs. zero. This improves generate code for this case on X86
from
_foo:
        movl    $99, %ecx
        movl    4(%esp), %eax
        subl    %eax, %ecx
        xorl    %edx, %edx
        testl   %ecx, %ecx
        cmovs   %edx, %eax
        ret

to
_foo:
        xorl    %ecx, %ecx
        movl    4(%esp), %eax
        cmpl    $99, %eax
        cmovg   %ecx, %eax
        ret

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45173 91177308-0d34-0410-b5e6-96231b3b80d8
2007-12-18 21:32:20 +00:00
..
Analysis Add explicit keywords, and fix a minor typo that they uncovered. 2007-12-14 15:41:34 +00:00
Archive finishing touches of bytecode -> bitcode changes. also unbreak Windows 2007-07-06 20:28:40 +00:00
AsmParser regenerate. 2007-12-17 01:17:35 +00:00
Bitcode Bring back int_x86_sse2_movl_dq intrinsic for backward compatibility. Make sure 2007-12-17 22:33:23 +00:00
CodeGen Support more insane CEP's in AsmPrinter (Yes, PyPy folks do really use them). 2007-12-18 20:53:41 +00:00
Debugger switch this to bitcode instead of bytecode 2007-05-06 09:29:13 +00:00
ExecutionEngine Change the PointerType api for creating pointer types. The old functionality of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. 2007-12-17 01:12:55 +00:00
Linker Fix PR1146: parameter attributes are longer part of 2007-11-27 13:23:08 +00:00
Support Don't have APInt.cpp depend upon DerivedTypes.h. This helps with splitting the 2007-12-11 06:53:58 +00:00
System Added "isDirectory" method to llvm::sys::Path. 2007-12-18 19:46:22 +00:00
Target add an obvious load folding missed optzn. 2007-12-18 16:48:14 +00:00
Transforms Fold subtracts into integer compares vs. zero. This improves generate code for this case on X86 2007-12-18 21:32:20 +00:00
VMCore remove a dead annotation 2007-12-18 19:04:24 +00:00
Makefile build lib/Archive instead of lib/Bytecode 2007-05-06 19:50:06 +00:00