[all-commits] [llvm/llvm-project] 2b5585: [flang] Lower command and environment intrinsics

Valentin Clement (バレンタイン クレメン) via All-commits all-commits at lists.llvm.org
Thu Mar 17 06:37:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b55850df8ab65b1b349e8e9341e02ca59da9155
      https://github.com/llvm/llvm-project/commit/2b55850df8ab65b1b349e8e9341e02ca59da9155
  Author: Valentin Clement <clementval at gmail.com>
  Date:   2022-03-17 (Thu, 17 Mar 2022)

  Changed paths:
    M flang/lib/Lower/IntrinsicCall.cpp
    A flang/test/Lower/Intrinsics/command_argument_count.f90
    A flang/test/Lower/Intrinsics/get_command_argument.f90
    A flang/test/Lower/Intrinsics/get_environment_variable.f90

  Log Message:
  -----------
  [flang] Lower command and environment intrinsics

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.

Reviewed By: PeteSteinfeld

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

Co-authored-by: Josh Mottley <Josh.Mottley at arm.com>
Co-authored-by: Jean Perier <jperier at nvidia.com>




More information about the All-commits mailing list