llvm-6502/lib/Transforms
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
..
Hello Fix typo in comment. 2007-05-06 13:37:16 +00:00
Instrumentation 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
IPO Rename isNoReturn to doesNotReturn, and isNoUnwind to 2007-12-18 09:59:50 +00:00
Scalar Fold subtracts into integer compares vs. zero. This improves generate code for this case on X86 2007-12-18 21:32:20 +00:00
Utils Rename isNoReturn to doesNotReturn, and isNoUnwind to 2007-12-18 09:59:50 +00:00
Makefile