[flang-commits] [flang] [flang] introduce fir.copy to avoid load store of aggregates (PR #130289)
Slava Zakharin via flang-commits
flang-commits at lists.llvm.org
Fri Mar 7 10:53:00 PST 2025
vzakhari wrote:
I think while we are using TBAA the way Tom described we have to be able to attach two TBAA tags for the source and the destination of `fir.copy`, then in `CodeGen` we will be able to apply them to the corresponding load and store.
The `AddAliasTagsPass` will need to handle `fir.copy` specially by tracing both operands to their sources.
https://github.com/llvm/llvm-project/pull/130289
More information about the flang-commits
mailing list