Go to file
David Majnemer d346a37737 [SimplifyCFG] Stop inserting calls to llvm.trap for UB
SimplifyCFG had logic to insert calls to llvm.trap for two very
particular IR patterns: stores and invokes of undef/null.

While InstCombine canonicalizes certain undefined behavior IR patterns
to stores of undef, phase ordering means that this cannot be relied upon
in general.

There are much better tools than llvm.trap: UBSan and ASan.

N.B. I could be argued into reverting this change if a clear argument as
to why it is important that we synthesize llvm.trap for stores, I'd be
hard pressed to see why it'd be useful for invokes...

llvm-svn: 273778
2016-06-25 08:04:19 +00:00
clang [X86] Fix pslldq/psrldq intrinsics to not fail compilation with immediates larger than 16. This was accidentally broken in r272246. 2016-06-25 07:31:14 +00:00
clang-tools-extra Remove ignoringImplicit from clang-tidy. 2016-06-24 09:39:28 +00:00
compiler-rt cfi: Start testing CFI in both standalone and devirtualization modes. 2016-06-25 00:24:22 +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 configure: Remove device specific defines 2016-06-17 20:30:50 +00:00
libcxx [libcxx] guard throw with exception enabling check 2016-06-24 18:02:27 +00:00
libcxxabi Fix [libcxxabi] Fix warning about uninitialized const member. 2016-06-15 19:59:16 +00:00
libunwind [libunwind] Improve unwinder stack usage - III 2016-06-14 15:51:01 +00:00
lld Do not lookup the same option twice. NFC. 2016-06-25 04:37:56 +00:00
lldb Made templates that have Enumeration values as arguments work correctly. 2016-06-24 23:48:00 +00:00
llgo [llgo] llgoi: separate evaluation from printing 2016-04-25 01:18:20 +00:00
llvm [SimplifyCFG] Stop inserting calls to llvm.trap for UB 2016-06-25 08:04:19 +00:00
openmp Remove redundant %libomp-compile step from test/lock/omp_lock.c 2016-06-23 16:18:59 +00:00
parallel-libs Change mailing list names in README 2016-06-24 22:50:09 +00:00
polly clang-tidy: Add llvm namespace comments 2016-06-23 22:17:27 +00:00