llvm-6502/lib
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
..
Analysis IR: MDNode => Value: Instruction::getMetadata() 2014-11-01 00:10:31 +00:00
AsmParser X86: Implement the vectorcall calling convention 2014-10-28 01:29:26 +00:00
Bitcode Untabify. 2014-10-29 23:44:35 +00:00
CodeGen Remove unused function 2014-11-01 01:15:26 +00:00
DebugInfo [dwarfdump] Dump DW_AT_ranges values inline in the debug_info dump. 2014-10-23 04:08:34 +00:00
ExecutionEngine [Object] Modify OwningBinary's interface to separate inspection from ownership. 2014-10-31 21:37:49 +00:00
IR IR: Restore the old behavior of getDISubprogram 2014-11-01 07:57:14 +00:00
IRReader Pass a && to getLazyBitcodeModule. 2014-09-03 17:31:46 +00:00
LineEditor
Linker Refactor duplicated code in liking GlobalValues. 2014-10-31 23:10:07 +00:00
LTO Add an option to the LTO code generator to disable vectorization during LTO 2014-10-26 21:50:58 +00:00
MC Attempt to fix the build after r220439 2014-10-22 22:46:05 +00:00
Object Object, COFF: Cleanup symbol type code, improve binutils compatibility 2014-10-31 05:07:00 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData Add show and merge tools for sample PGO profiles. 2014-11-01 00:56:55 +00:00
Support Update the non-pthreads fallback for RWMutex on Unix 2014-10-31 17:02:30 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target Revert "Temporarily revert r220777 to sort out build bot breakage." 2014-11-01 03:19:45 +00:00
Transforms InstCombine: Combine (X+cst) < 0 --> X < -cst 2014-11-01 09:09:51 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile