[flang-commits] [flang] [Flang][Alias analysis] Fix alias analysis for omp private allocatable item (PR #120243)
Dominik Adamski via flang-commits
flang-commits at lists.llvm.org
Thu Dec 19 01:54:33 PST 2024
DominikAdamski wrote:
> Or maybe even some simpler logic is possible. I don't think the descriptor for a private value can alias with anything. I think the value of the private value can't alias with anything else unless it is POINTER or TARGET.
@tblah I simplified logic according to your suggestion. Test for POINTER is already present: https://github.com/llvm/llvm-project/blob/main/flang/test/Analysis/AliasAnalysis/alias-analysis-omp-teams-distribute-private-ptr.mlir , that's why I attach only test for allocatable.
https://github.com/llvm/llvm-project/pull/120243
More information about the flang-commits
mailing list