This is an archive of the discontinued LLVM Phabricator instance.

[fir] Add the abstract result conversion pass
ClosedPublic

Authored by clementval on Oct 5 2021, 6:29 AM.

Details

Summary

Add pass that convert abstract result to function argument.
This pass is needed before the conversion to LLVM IR.

This patch is part of the upstreaming effort from fir-dev branch.

Co-authored-by: Eric Schweitz <eschweitz@nvidia.com>

Diff Detail

Event Timeline

clementval created this revision.Oct 5 2021, 6:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2021, 6:29 AM
Herald added a subscriber: mgorny. · View Herald Transcript
clementval requested review of this revision.Oct 5 2021, 6:29 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 5 2021, 6:29 AM

LG, even though some more doc inline in the code could help: maybe document each pattern individually? And/Or document the pass itself? (like code snippet or something)

schweitz accepted this revision.Oct 7 2021, 9:21 AM
This revision is now accepted and ready to land.Oct 7 2021, 9:21 AM
This revision was automatically updated to reflect the committed changes.