diff options
author | Tim Northover <tnorthover@apple.com> | 2017-05-23 21:53:11 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2017-05-23 21:53:11 +0000 |
commit | 8c605c0edaa909f44e6e4c753eb630035de61857 (patch) | |
tree | 4561118d580a67a301bb11c78d2596730002e57a /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 2f8db1d6543e70e9b0e178b2a9c270d428b5c77e (diff) | |
download | bcm5719-llvm-8c605c0edaa909f44e6e4c753eb630035de61857.tar.gz bcm5719-llvm-8c605c0edaa909f44e6e4c753eb630035de61857.zip |
Revert LLVM changes for "Sema: allow imaginary constants via GNU extension if UDL overloads not present."
The changes accidentally crept into a Clang commit I was making.
llvm-svn: 303697
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp index 4c7d980a6a9..57d340c41c3 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp @@ -2394,12 +2394,9 @@ void SelectionDAGBuilder::visitIndirectBr(const IndirectBrInst &I) { } void SelectionDAGBuilder::visitUnreachable(const UnreachableInst &I) { - errs() << "WARNING: trap\n"; - if (DAG.getTarget().Options.TrapUnreachable) { + if (DAG.getTarget().Options.TrapUnreachable) DAG.setRoot( DAG.getNode(ISD::TRAP, getCurSDLoc(), MVT::Other, DAG.getRoot())); - - } } void SelectionDAGBuilder::visitFSub(const User &I) { |