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.
| Paths 
 |  Differential  D121909  
[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 
 This patch is part of the upstreaming effort from fir-dev branch. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Mar 17 2022, 6:27 AM Closed by commit rG2b55850df8ab: [flang] Lower command and environment intrinsics (authored by clementval).  ·  Explain WhyMar 17 2022, 6:37 AM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 416163 flang/lib/Lower/IntrinsicCall.cpp
 flang/test/Lower/Intrinsics/command_argument_count.f90
 
 flang/test/Lower/Intrinsics/get_command_argument.f90
 
 flang/test/Lower/Intrinsics/get_environment_variable.f90
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||