[all-commits] [llvm/llvm-project] eb7a02: [flang] Single entry point for GET_COMMAND_ARGUMENT

Diana via All-commits all-commits at lists.llvm.org
Wed Jul 27 03:27:52 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb7a02ea009b6a2aa3689ee92905fb6acea905fc
      https://github.com/llvm/llvm-project/commit/eb7a02ea009b6a2aa3689ee92905fb6acea905fc
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-07-27 (Wed, 27 Jul 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Command.h
    M flang/include/flang/Runtime/command.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Command.cpp
    M flang/runtime/command.cpp
    M flang/test/Lower/Intrinsics/get_command_argument-optional.f90
    M flang/test/Lower/Intrinsics/get_command_argument.f90
    M flang/test/Runtime/no-cpp-dep.c
    M flang/unittests/Optimizer/Builder/Runtime/CommandTest.cpp
    M flang/unittests/Runtime/CommandTest.cpp

  Log Message:
  -----------
  [flang] Single entry point for GET_COMMAND_ARGUMENT

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

Differential Revision: https://reviews.llvm.org/D130475




More information about the All-commits mailing list