Go to file
David Majnemer 549f4f2510 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.

llvm-svn: 221045
2014-11-01 09:09:51 +00:00
clang CodeGen: Declutter the emitVirtualObjectDelete interface 2014-11-01 07:37:17 +00:00
clang-tools-extra [CMake] clangApplyReplacement: Add clangAST in libdeps to appease msc builder. 2014-10-30 03:22:32 +00:00
compiler-rt [asan] increase the initial buffer size in caller-callee dumper 2014-10-31 19:49:46 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Prune CRLF. 2014-10-27 12:37:26 +00:00
libcxx Partial fix for building w/ libcxxrt on OSX. Patch from C Bergstrom. 2014-11-01 00:41:42 +00:00
libcxxabi Fix unicode chars into ascii in comment lines. 2014-10-27 08:08:18 +00:00
lld [mach-o] explicitly cast little_n uses to ints to silence MSVC 2014-10-31 22:12:20 +00:00
lldb Complete the superclass type when completing an 2014-10-31 23:55:36 +00:00
llvm InstCombine: Combine (X+cst) < 0 --> X < -cst 2014-11-01 09:09:51 +00:00
openmp I apologise in advance for the size of this check-in. At Intel we do 2014-10-07 16:25:50 +00:00
polly [FIX] Move the statistic code to fix the build. 2014-11-01 01:30:11 +00:00