[llvm] [mlir] [OpenMP][MLIR] Hoist static `alloca`s emitted by private `init` regions to the allocation IP of the construct (PR #171597)
Tom Eccles via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 2 04:43:26 PST 2026
================
@@ -2348,6 +2348,7 @@ class OpenMPIRBuilder {
PostOutlineCBTy PostOutlineCB;
BasicBlock *EntryBB, *ExitBB, *OuterAllocaBB;
SmallVector<Value *, 2> ExcludeArgsFromAggregate;
+ bool FixUpNonEntryAllocas = false;
----------------
tblah wrote:
```suggestion
// TODO: this should be safe to enable by default
bool FixUpNonEntryAllocas = false;
```
https://github.com/llvm/llvm-project/pull/171597
More information about the llvm-commits
mailing list