llvm-6502/lib/Transforms
David Majnemer f74443e53a InstCombine: Combine (X+cst) < 0 --> X < -cst
This can happen pretty often in code that looks like:
int foo = bar - 1;
if (foo < 0)
  do stuff

In this case, bar < 1 is an equivalent condition.

This transform requires that the add instruction be annotated with nsw.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221045 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-01 09:09:51 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine InstCombine: Combine (X+cst) < 0 --> X < -cst 2014-11-01 09:09:51 +00:00
Instrumentation IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
IPO Reformat partially, where I touched for whitespace changes. 2014-10-28 11:54:52 +00:00
ObjCARC IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
Scalar Fix Twine corruption problem with diagnostics. 2014-10-30 18:48:41 +00:00
Utils IR: MDNode => Value: Instruction::getAllMetadata() 2014-11-01 00:26:42 +00:00
Vectorize IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile