[flang-commits] [flang] [flang] Canonicalize redundant pointer converts. (PR #121864)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Tue Jan 7 08:26:26 PST 2025
vzakhari wrote:
> This LGTM, but maybe it is a broader problem that stack arrays doesn't understand `fir.convert` because it could still get confused by non-redundant converts. I'll add that to my to-do list.
Thanks for the follow-up! I did not want to modify just the StackArrays pass. It seems to me that the conversions canonicalization potentially helps other passes, so I decided to go this route instead.
https://github.com/llvm/llvm-project/pull/121864
More information about the flang-commits
mailing list