Skip to content

Commit

Permalink
Revert LLVM changes for "Sema: allow imaginary constants via GNU exte…
Browse files Browse the repository at this point in the history
…nsion if UDL overloads not present."

The changes accidentally crept into a Clang commit I was making.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303697 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
TNorthover committed May 23, 2017
1 parent 30395dd commit f226a62
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f226a62

Please sign in to comment.