[flang-commits] [flang] [flang] AliasAnalysis: Fix pointer component logic (PR #94242)
via flang-commits
flang-commits at lists.llvm.org
Fri Oct 11 08:06:38 PDT 2024
================
@@ -94,6 +94,39 @@ bool AliasAnalysis::Source::isBoxData() const {
origin.isData;
}
+bool AliasAnalysis::Source::aliasesLikeDummyArg() const {
----------------
jeanPerier wrote:
I think `mayBeDummyArgOrHostAssociatedDummyArg()`, although ugly and verbose, would be better. `aliasesLikeDummyArg` raises a lot of questions about what it means to "alias like a dummy argument".
Same for `aliasesLikePtrDummyArg`.
https://github.com/llvm/llvm-project/pull/94242
More information about the flang-commits
mailing list