forked from OSchip/llvm-project
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
This commit is contained in:
parent
2f8db1d654
commit
8c605c0eda
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue