[all-commits] [llvm/llvm-project] 86ea67: [flang] Support lowering of intrinsic GET_COMMAND

PeixinQiao via All-commits all-commits at lists.llvm.org
Fri Nov 18 19:05:29 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 86ea67ed4e89cc042818bd8e53066fdd96ff96e4
      https://github.com/llvm/llvm-project/commit/86ea67ed4e89cc042818bd8e53066fdd96ff96e4
  Author: Peixin Qiao <qiaopeixin at huawei.com>
  Date:   2022-11-19 (Sat, 19 Nov 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Command.h
    M flang/lib/Lower/IntrinsicCall.cpp
    M flang/lib/Optimizer/Builder/Runtime/Command.cpp
    A flang/test/Lower/Intrinsics/get_command.f90

  Log Message:
  -----------
  [flang] Support lowering of intrinsic GET_COMMAND

As Fortran 2018 16.9.82, all the arguments of GET_COMMAND are optional.
When they are all absent, do nothing so to be consistent with gfortran
and ifort. The semantic analysis and runtime have been supported.

This intrinsic was introduced from F2003, and this supports the lowering
of it.

Reviewed By: PeteSteinfeld, jeanPerier

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




More information about the All-commits mailing list