[PATCH] D48674: SelectionDAGBuilder, mach-o: Skip trap after noreturn call (for Mach-O)
Matthias Braun via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 27 14:28:39 PDT 2018
MatzeB created this revision.
MatzeB added reviewers: t.p.northover, rnk, ab.
Herald added a subscriber: mcrosier.
Herald added a reviewer: javed.absar.
Add NoTrapAfterNoreturn target option which skips emission of traps
behind noreturn calls even if TrapUnreachable is enabled.
rdar://41530228
Repository:
rL LLVM
https://reviews.llvm.org/D48674
Files:
include/llvm/Target/TargetOptions.h
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/Target/AArch64/AArch64TargetMachine.cpp
lib/Target/ARM/ARMTargetMachine.cpp
lib/Target/X86/X86TargetMachine.cpp
test/CodeGen/X86/unreachable-trap.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D48674.153177.patch
Type: text/x-patch
Size: 4742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180627/001c8d62/attachment.bin>
More information about the llvm-commits
mailing list