[flang-commits] [flang] [flang] AliasAnalysis: Fix pointer component logic (PR #94242)

Joel E. Denny via flang-commits flang-commits at lists.llvm.org
Fri Jul 12 15:54:47 PDT 2024


================
@@ -17,13 +25,13 @@
 // end module
 
----------------
jdenny-ornl wrote:

> Thanks for reviewing. I've added that check. It returns MayAlias. As the comment I added says, I think it should return NoAlias. We could try to fix that in this patch, but I think it would be better to address it in a separate patch because it involves a different part of the AliasAnalysis logic: the isTargetOrPointer() checks.

I decided to go ahead and [fix that](https://github.com/llvm/llvm-project/pull/94242/commits/ee248f5236ec4914cf8708167fd74f4b48c2733f) in this PR as it helped me to work through another issue.

https://github.com/llvm/llvm-project/pull/94242


More information about the flang-commits mailing list