[flang-commits] [flang] [mlir] [mlir][flang] Add an interface of OpenACC compute regions for further getAllocaBlock support (PR #100675)
via flang-commits
flang-commits at lists.llvm.org
Fri Jul 26 01:16:27 PDT 2024
https://github.com/jeanPerier commented:
Since you are giving some alloca ownership aspect to these operation, can you also give them the `AutomaticAllocationScope` trait so that fir::AlllocaOp::getOwnerRegion will consider alloca nested in this region as belonging to it, and that any dynamic allocation made inside will be properly handled by passes like https://github.com/llvm/llvm-project/blob/main/flang/lib/Optimizer/Transforms/MemoryAllocation.cpp
https://github.com/llvm/llvm-project/pull/100675
More information about the flang-commits
mailing list