This is an archive of the discontinued LLVM Phabricator instance.

[flang] Upstream partial lowering of GET_ENVIRONMENT_VARIABLE intrinsic
ClosedPublic

Authored by josh.mottley.arm on Feb 4 2022, 3:24 AM.

Details

Summary

This patch adds partial lowering of the "GET_ENVIRONMENT_VARIABLE" intrinsic
to the backend runtime hook implemented in patches D111394 and D112698.
It also renames the isPresent lambda to isAbsent and moves it out to
its own function in Command.cpp. Corresponding comment fixes for this
are also modified. Lastly it adds the i1 type to
RuntimeCallTestBash.h.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 3:24 AM
Herald added a subscriber: mehdi_amini. · View Herald Transcript
josh.mottley.arm requested review of this revision.Feb 4 2022, 3:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 3:24 AM
awarzynski accepted this revision.Feb 4 2022, 3:33 AM

LGTM, thanks!

This revision is now accepted and ready to land.Feb 4 2022, 3:33 AM