[all-commits] [llvm/llvm-project] 5ebbcf: [flang] Upstream partial lowering of GET_ENVIRONME...

Josh Mottley via All-commits all-commits at lists.llvm.org
Tue Feb 8 09:44:33 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ebbcfa01d78477c9b5f170537a8a2719fe199e6
      https://github.com/llvm/llvm-project/commit/5ebbcfa01d78477c9b5f170537a8a2719fe199e6
  Author: Josh Mottley <Josh.Mottley at arm.com>
  Date:   2022-02-08 (Tue, 08 Feb 2022)

  Changed paths:
    M flang/include/flang/Optimizer/Builder/Runtime/Command.h
    M flang/lib/Optimizer/Builder/Runtime/Command.cpp
    M flang/unittests/Optimizer/Builder/Runtime/CommandTest.cpp
    M flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h

  Log Message:
  -----------
  [flang] Upstream partial lowering of GET_ENVIRONMENT_VARIABLE intrinsic

This patch adds partial lowering of the "GET_ENVIRONMENT_VARIABLE" intrinsic
to the backend runtime hook implemented in patches D111394 and D112698.
It also renames the `isPresent` lambda to `isAbsent` and moves it out to
its own function in `Command.cpp`. Corresponding comment fixes for this
are also modified. Lastly it adds the i1 type to
`RuntimeCallTestBash.h`.

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




More information about the All-commits mailing list