This is an archive of the discontinued LLVM Phabricator instance.

[flang][hlfir] Lower user defined assignment
ClosedPublic

Authored by jeanPerier on Jun 21 2023, 1:31 AM.

Details

Summary

Lower user defined assignment inside the hlfir.region_assign
"userDefinedAssignment" mlir region.

This is done by adding an entry point to ConvertCall.h in order
to call genUserCall with the region block arguments as arguments.

The codegen for hlfir.region_assign with user defined assignment
will be added in a later patch.

Diff Detail

Event Timeline

jeanPerier created this revision.Jun 21 2023, 1:31 AM
jeanPerier requested review of this revision.Jun 21 2023, 1:31 AM
tblah accepted this revision.Jun 21 2023, 2:25 AM

This looks good to me, thanks!

This revision is now accepted and ready to land.Jun 21 2023, 2:25 AM
PeteSteinfeld accepted this revision.Jun 22 2023, 6:58 AM

All builds and tests correctly and looks good.

This revision was automatically updated to reflect the committed changes.