This is an archive of the discontinued LLVM Phabricator instance.

[flang] Add hlfir.assign definition
ClosedPublic

Authored by jeanPerier on Nov 15 2022, 1:59 AM.

Details

Summary

Add hlfir.assign that represent Fortran assignment.
See https://github.com/llvm/llvm-project/blob/main/flang/docs/HighLevelFIR.md.
Operation attributes will be added later when they can be used.

Diff Detail

Event Timeline

jeanPerier created this revision.Nov 15 2022, 1:59 AM
Herald added a project: Restricted Project. · View Herald Transcript
Herald added a subscriber: jdoerfert. · View Herald Transcript
jeanPerier requested review of this revision.Nov 15 2022, 1:59 AM
This revision is now accepted and ready to land.Nov 15 2022, 2:06 AM
This revision was automatically updated to reflect the committed changes.
vzakhari added inline comments.
flang/include/flang/Optimizer/HLFIR/HLFIROps.td
119

Should we also claim MemRead on the rhs?