[PATCH] D118141: [flang] Upstream partial lowering of EXIT intrinsic

Josh Mottley via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 25 06:27:26 PST 2022


josh.mottley.arm created this revision.
Herald added subscribers: Chia-hungDuan, mehdi_amini, rriddle, mgorny.
Herald added a reviewer: sscalpone.
Herald added a project: Flang.
josh.mottley.arm requested review of this revision.
Herald added subscribers: llvm-commits, stephenneuendorffer, jdoerfert.
Herald added a project: LLVM.

This patch adds partial lowering of the "EXIT" intrinsic to
the backend runtime hook implemented in patch D110741 <https://reviews.llvm.org/D110741>. It also adds a
helper function to the `RuntimeCallTestBase.h` for testing for an
intrinsic function call in a `mlir::Block`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D118141

Files:
  flang/include/flang/Optimizer/Builder/Runtime/Stop.h
  flang/lib/Optimizer/Builder/CMakeLists.txt
  flang/lib/Optimizer/Builder/Runtime/Stop.cpp
  flang/unittests/Optimizer/Builder/Runtime/RuntimeCallTestBase.h
  flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp
  flang/unittests/Optimizer/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D118141.402888.patch
Type: text/x-patch
Size: 5285 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220125/0b94c458/attachment.bin>


More information about the llvm-commits mailing list