This is an archive of the discontinued LLVM Phabricator instance.

[flang] Hanlde disptach op in abstract result pass
ClosedPublic

Authored by clementval on Nov 28 2022, 5:43 AM.

Details

Summary

Update the call conversion pattern to support fir.dispatch
operation as well. The first operand of fir.dispatch op is always the
polymoprhic object. The pass_arg_pos attribute needs to be shifted when
the result is added as argument.

Diff Detail

Event Timeline

clementval created this revision.Nov 28 2022, 5:43 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 28 2022, 5:43 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Nov 28 2022, 5:43 AM
jeanPerier accepted this revision.Nov 28 2022, 7:33 AM

Looks good

This revision is now accepted and ready to land.Nov 28 2022, 7:33 AM
This revision was automatically updated to reflect the committed changes.