llvm/test
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 [SCEV] Improve Scalar Evolution's use of no {un,}signed wrap flags 2014-10-31 11:40:32 +00:00
Assembler Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
Bindings [OCaml] Ensure consistent naming. 2014-10-31 09:19:03 +00:00
Bitcode
BugPoint
CodeGen Revert "Temporarily revert r220777 to sort out build bot breakage." 2014-11-01 03:19:45 +00:00
DebugInfo PR21408: Workaround the appearance of duplicate variables due to problems when inlining two calls to the same function from the same call site. 2014-10-30 20:20:11 +00:00
ExecutionEngine [MCJIT] Defer application of AArch64 MachO GOT relocations until resolve time. 2014-10-21 23:41:15 +00:00
Feature Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
FileCheck
Instrumentation [asan] do not treat inline asm calls as indirect calls 2014-10-31 18:38:23 +00:00
Integer
JitListener
Linker Refactor duplicated code in liking GlobalValues. 2014-10-31 23:10:07 +00:00
LTO
MC [AVX512] Added VBROADCAST{SS/SD} encoding for VL subset. 2014-10-30 14:21:47 +00:00
Object Object, COFF: Cleanup symbol type code, improve binutils compatibility 2014-10-31 05:07:00 +00:00
Other
TableGen
tools Add show and merge tools for sample PGO profiles. 2014-11-01 00:56:55 +00:00
Transforms InstCombine: Combine (X+cst) < 0 --> X < -cst 2014-11-01 09:09:51 +00:00
Unit
Verifier Extend the verifier to validate range metadata on calls and invokes. 2014-10-20 23:52:07 +00:00
YAMLParser
.clang-format
CMakeLists.txt Make llvm-go test dependency optional. 2014-10-23 19:51:40 +00:00
lit.cfg lit: PR21417: don't try to update OCAMLPATH if LibDir is empty. 2014-10-30 19:26:42 +00:00
lit.site.cfg.in [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile [OCaml] [autoconf] Migrate to ocamlfind. 2014-10-30 08:29:45 +00:00
Makefile.tests
TestRunner.sh