summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2015-10-09 01:11:37 +0000
committerReid Kleckner <rnk@google.com>2015-10-09 01:11:37 +0000
commitb510401785a1b37df5c42031ad9784b337d89683 (patch)
treec4386d23da95941f1ebf675e9416e41e3fed570e /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent36f69229e670e0ef545cf95ae3241e94fa7e6090 (diff)
downloadbcm5719-llvm-b510401785a1b37df5c42031ad9784b337d89683.tar.gz
bcm5719-llvm-b510401785a1b37df5c42031ad9784b337d89683.zip
Revert "Revert r248959, "[WinEH] Emit int3 after noreturn calls on Win64""
This reverts commit r249032. TODO write commit msg llvm-svn: 249794
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
index 9e315194c98..9371944d242 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
@@ -2260,11 +2260,7 @@ void SelectionDAGBuilder::visitIndirectBr(const IndirectBrInst &I) {
getValue(I.getAddress())));
}
-void SelectionDAGBuilder::visitUnreachable(const UnreachableInst &I) {
- if (DAG.getTarget().Options.TrapUnreachable)
- DAG.setRoot(
- DAG.getNode(ISD::TRAP, getCurSDLoc(), MVT::Other, DAG.getRoot()));
-}
+void SelectionDAGBuilder::visitUnreachable(const UnreachableInst &I) {}
void SelectionDAGBuilder::visitFSub(const User &I) {
// -0.0 - X --> fneg
OpenPOWER on IntegriCloud