Skip to content

Commit 5b5bba6

Browse files
committed
Drop unused InsertionPt restoration
1 parent 616d637 commit 5b5bba6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

mlir/lib/Target/LLVMIR/Dialect/OpenMP/OpenMPToLLVMIRTranslation.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,6 @@ convertOmpWsloop(Operation &opInst, llvm::IRBuilderBase &builder,
26172617
loopInfo->getLastIter());
26182618
if (failed(handleError(afterBarrierIP, *loopOp)))
26192619
return failure();
2620-
builder.restoreIP(*afterBarrierIP);
26212620
for (size_t index = 0; index < wsloopOp.getLinearVars().size(); index++)
26222621
linearClauseProcessor.rewriteInPlace(builder, "omp.loop_nest.region",
26232622
index);

0 commit comments

Comments
 (0)