[WebAssembly] Move useAA() out of line to make it more convenient to experiment with.
[oota-llvm.git] / lib / Target / AMDGPU / SIAnnotateControlFlow.cpp
index ec7d65d5743d9ff2ad81c90c25e4306646e24b23..fa4d24a2f25a84c1c57de8bf1ef90fc991744d22 100644 (file)
@@ -315,7 +315,7 @@ void SIAnnotateControlFlow::closeControlFlow(BasicBlock *BB) {
     BB = llvm::SplitBlockPredecessors(BB, Preds, "endcf.split", DT, LI, false);
   }
 
-  CallInst::Create(EndCf, popSaved(), "", BB->getFirstInsertionPt());
+  CallInst::Create(EndCf, popSaved(), "", &*BB->getFirstInsertionPt());
 }
 
 /// \brief Annotate the control flow with intrinsics so the backend can