Go to file
David Majnemer 468f670021 [InstCombine] Don't miscompile select to poison
If we have (select a, b, c), it is sometimes valid to simplify this to a
single select operand.  However, doing so is only valid if the
computation doesn't inject poison into the computation.

It might be helpful to consider the following example:
  (select (icmp ne %i, INT_MAX), (add nsw %i, 1), INT_MIN)

The select is equivalent to (add %i, 1) but not (add nsw %i, 1).

Self hosting on x86_64 revealed that this occurs very, very rarely so
bailing out is hopefully pretty reasonable.

llvm-svn: 239215
2015-06-06 02:30:43 +00:00
clang clang-cl: Implement /GL in terms of -flto. 2015-06-06 02:09:34 +00:00
clang-tools-extra Fixed modularize to warn about missing headers referenced in a module map. 2015-06-04 23:35:19 +00:00
compiler-rt [ASan] Bump maximum allowed malloc() size in ASan allocator to 1Tb. 2015-06-05 20:50:02 +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 Use a more accurate implementation for exp 2015-05-13 03:55:09 +00:00
libcxx Fix PR#23767. Add tests for iterator invalidation for deque::erase/pop_front/pop_back 2015-06-05 22:34:19 +00:00
libcxxabi fallback_malloc: silence conversion warning (NFC) 2015-06-03 17:25:35 +00:00
libunwind Code cleanup: Reindent statements. 2015-05-30 14:00:39 +00:00
lld COFF: Read linker directives from bitcode files. 2015-06-06 02:00:45 +00:00
lldb Fix TestAttachDenied and TestChangeProcessGroup for remote Windows to Android. 2015-06-06 00:25:50 +00:00
llgo [llgo] cmd/llgoi: use line editor 2015-05-23 15:16:09 +00:00
llvm [InstCombine] Don't miscompile select to poison 2015-06-06 02:30:43 +00:00
openmp Fix extern warnings produced by ittnotify_static.c 2015-06-05 20:24:13 +00:00
polly Avoid the use of std::map emplace 2015-06-05 05:52:15 +00:00