This is an archive of the discontinued LLVM Phabricator instance.

[flang] Lower command and environment intrinsics
ClosedPublic

Authored by clementval on Mar 17 2022, 5:50 AM.

Details

Summary

This patch adds lowering for command and environment
related intrinsics:

  • get_command_argument
  • get_environment_variable
  • command_argument_count

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

Diff Detail

Event Timeline

clementval created this revision.Mar 17 2022, 5:50 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a subscriber: mehdi_amini. · View Herald Transcript
clementval requested review of this revision.Mar 17 2022, 5:50 AM
PeteSteinfeld accepted this revision.Mar 17 2022, 6:27 AM

All builds and tests correctly and looks good.

This revision is now accepted and ready to land.Mar 17 2022, 6:27 AM
This revision was automatically updated to reflect the committed changes.