This is an archive of the discontinued LLVM Phabricator instance.

[flang] support (hl)fir.declare in alias analysis
ClosedPublic

Authored by tblah on Aug 4 2023, 8:09 AM.

Diff Detail

Event Timeline

tblah created this revision.Aug 4 2023, 8:09 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
tblah requested review of this revision.Aug 4 2023, 8:09 AM
Renaud-K added inline comments.Aug 4 2023, 11:41 AM
flang/test/Analysis/AliasAnalysis/alias-analysis-2.fir
257

Thank you for doing this.
I am not sure its a good idea to do more testing on box_addr when it is not something that we follow. I know I am guilty of adding a few tests with it but some have FIXMEs. It looks like we are going to have a lot more to fix and review when we do follow it. A fir.convert, instead of %6 and %13, should be good enough to cover the change.

tblah updated this revision to Diff 547718.Aug 7 2023, 4:42 AM

Thanks for taking a look. I've updated the patch not to use fir.box_addr.

Renaud-K accepted this revision.Aug 7 2023, 8:19 AM
This revision is now accepted and ready to land.Aug 7 2023, 8:19 AM
This revision was automatically updated to reflect the committed changes.
tblah reopened this revision.Aug 8 2023, 8:54 AM
This revision is now accepted and ready to land.Aug 8 2023, 8:54 AM
tblah updated this revision to Diff 548248.Aug 8 2023, 8:55 AM

adding missing dependency on HLFIRDialect

This revision was automatically updated to reflect the committed changes.