This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Add hlfir.elemental_addr for vector subscripted assignment
ClosedPublic

Authored by jeanPerier on Apr 28 2023, 7:49 AM.

Details

Summary

See the operation description in HLFIROps.td.

Depends on D149442

Diff Detail

Event Timeline

jeanPerier created this revision.Apr 28 2023, 7:49 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 28 2023, 7:49 AM
jeanPerier requested review of this revision.Apr 28 2023, 7:49 AM
This revision is now accepted and ready to land.Apr 28 2023, 9:25 AM
vzakhari accepted this revision.Apr 28 2023, 6:24 PM
vzakhari added inline comments.
flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
1034–1035

TODO is probably redundant now.

tblah added inline comments.May 1 2023, 7:10 AM
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
903

Please could you mention the cleanup region in the description

jeanPerier updated this revision to Diff 518717.May 2 2023, 7:24 AM
  • Rebase
  • Remove obsolete TODO comment
  • Document cleanup region

Thanks for the reviews!

flang/include/flang/Optimizer/HLFIR/HLFIROps.td
903

Good point, done.

flang/lib/Optimizer/HLFIR/IR/HLFIROps.cpp
1034–1035

Indeed, thanks.

tblah accepted this revision.May 2 2023, 7:55 AM

Looks good to me, thanks for this!