[Mlir-commits] [llvm] [mlir] [MLIR][OpenMP] Support basic materialization for `omp.private` ops (PR #81715)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Tue Feb 20 11:56:58 PST 2024
================
@@ -1119,6 +1235,7 @@ convertOmpParallel(omp::ParallelOp opInst, llvm::IRBuilderBase &builder,
ompBuilder->createParallel(ompLoc, allocaIP, bodyGenCB, privCB, finiCB,
ifCond, numThreads, pbKind, isCancellable));
+ opInst.erase();
----------------
NimishMishra wrote:
Are we erasing the original `opInst`? Was the intention to rather erase `opInstClone`?
https://github.com/llvm/llvm-project/pull/81715
More information about the Mlir-commits
mailing list