forked from OSchip/llvm-project
parent
1ed20db720
commit
096492a07b
|
@ -2207,7 +2207,8 @@ void SelectionDAGBuilder::visitIndirectBr(const IndirectBrInst &I) {
|
|||
|
||||
void SelectionDAGBuilder::visitUnreachable(const UnreachableInst &I) {
|
||||
if (DAG.getTarget().Options.TrapUnreachable)
|
||||
DAG.setRoot(DAG.getNode(ISD::TRAP, getCurSDLoc(), MVT::Other, DAG.getRoot()));
|
||||
DAG.setRoot(
|
||||
DAG.getNode(ISD::TRAP, getCurSDLoc(), MVT::Other, DAG.getRoot()));
|
||||
}
|
||||
|
||||
void SelectionDAGBuilder::visitFSub(const User &I) {
|
||||
|
|
Loading…
Reference in New Issue