[Mlir-commits] [mlir] [mlir][OpenMP] Keep loop allocas in the entry block after nested splits (PR #231270)
Sairudra More
llvmlistbot at llvm.org
Tue Oct 13 06:56:19 PDT 2026
================
@@ -83,8 +83,8 @@ class OpenMPAllocStackFrame
explicit OpenMPAllocStackFrame(
llvm::OpenMPIRBuilder::InsertPointTy allocaIP,
llvm::ArrayRef<llvm::BasicBlock *> deallocBlocks)
- : allocInsertPoint(allocaIP), deallocBlocks(deallocBlocks) {}
- llvm::OpenMPIRBuilder::InsertPointTy allocInsertPoint;
+ : allocBlock(allocaIP.getNodeParent()), deallocBlocks(deallocBlocks) {}
----------------
Saieiei wrote:
Done, the constructor now takes the block and the callers pass `allocaIP.getNodeParent()`.
https://github.com/llvm/llvm-project/pull/231270
More information about the Mlir-commits
mailing list