This is an archive of the discontinued LLVM Phabricator instance.

[flang] Upstream partial lowering of GET_COMMAND_ARGUMENT intrinsic
ClosedPublic

Authored by josh.mottley.arm on Feb 2 2022, 8:19 AM.

Details

Summary

This patch adds partial lowering of the "GET_COMMAND_ARGUMENT"
intrinsic to the backend runtime hook implemented in patches D109227,
D109813, D109814.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 8:19 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
josh.mottley.arm requested review of this revision.Feb 2 2022, 8:19 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2022, 8:19 AM
schweitz accepted this revision.Feb 2 2022, 12:16 PM
This revision is now accepted and ready to land.Feb 2 2022, 12:16 PM

Fixed unit test failing in debug. Issue was genGetCommandArgument requires the
length and status parameters to be memory references (as we convert to ensure
result type).

awarzynski accepted this revision.Feb 3 2022, 7:12 AM

Makes sense, thanks!

The pre-commit CI failure on Windows is caused by https://reviews.llvm.org/D118834, so you can ignore it.

This revision was landed with ongoing or failed builds.Feb 4 2022, 2:25 AM
This revision was automatically updated to reflect the committed changes.