[flang-commits] [PATCH] D130475: [flang] Single entry point for GET_COMMAND_ARGUMENT

Diana Picus via Phabricator via flang-commits flang-commits at lists.llvm.org
Mon Jul 25 04:43:55 PDT 2022


rovka created this revision.
rovka added reviewers: jeanPerier, klausler.
rovka added a project: Flang.
Herald added subscribers: mehdi_amini, jdoerfert.
Herald added a project: All.
rovka requested review of this revision.

This patch refactors the runtime support for GET_COMMAND_ARGUMENT to
have a single entry point instead of 2. It also updates lowering
accordingly.

This makes it easier to handle dynamically optional arguments. See also
https://reviews.llvm.org/D118777


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D130475

Files:
  flang/include/flang/Optimizer/Builder/Runtime/Command.h
  flang/include/flang/Runtime/command.h
  flang/lib/Lower/IntrinsicCall.cpp
  flang/lib/Optimizer/Builder/Runtime/Command.cpp
  flang/runtime/command.cpp
  flang/test/Lower/Intrinsics/get_command_argument-optional.f90
  flang/test/Lower/Intrinsics/get_command_argument.f90
  flang/unittests/Optimizer/Builder/Runtime/CommandTest.cpp
  flang/unittests/Runtime/CommandTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130475.447278.patch
Type: text/x-patch
Size: 34802 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/flang-commits/attachments/20220725/3198eff2/attachment-0001.bin>


More information about the flang-commits mailing list