llvm-6502/lib
Bill Wendling e4ddbdfd3c Add the Optimize Compares pass (disabled by default).
This pass tries to remove comparison instructions when possible. For instance,
if you have this code:

   sub r1, 1
   cmp r1, 0
   bz  L1

and "sub" either sets the same flag as the "cmp" instruction or could be
converted to set the same flag, then we can eliminate the "cmp" instruction all
together. This is a important for ARM where the ALU instructions could set the
CPSR flag, but need a special suffix ('s') to do so.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110423 91177308-0d34-0410-b5e6-96231b3b80d8
2010-08-06 01:32:48 +00:00
..
Analysis
Archive
AsmParser
Bitcode
CodeGen Add the Optimize Compares pass (disabled by default). 2010-08-06 01:32:48 +00:00
CompilerDriver
ExecutionEngine
Linker
MC
Support
System
Target Add the Optimize Compares pass (disabled by default). 2010-08-06 01:32:48 +00:00
Transforms
VMCore
Makefile