[flang-commits] [flang] DRAFT: [flang][TBAA] refine TARGET/POINTER encoding (PR #169544)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Tue Nov 25 17:56:02 PST 2025


https://github.com/vzakhari commented:

Thank you for the changes, Tom!

> I wonder whether it is ever possible for ip to alias with rt or even it2.

I believe you can alias `ip` with `it2` using `ip => it2(index)`.

Aliasing `ip` with `rt` does not seem possible to me, though `complex` pointer/target variables may alias with `real` pointer variables (e.g. when `%re` or `%im` part designator is used in pointer assignment).

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


More information about the flang-commits mailing list