[PATCH] D118141: [flang] Upstream partial lowering of EXIT intrinsic
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 28 10:11:01 PST 2022
awarzynski accepted this revision.
awarzynski added a comment.
This revision is now accepted and ready to land.
Thanks for addressing my comments! LGTM
================
Comment at: flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp:14
+TEST_F(RuntimeCallTest, genExitTest) {
+ auto loc = firBuilder->getUnknownLoc();
+ mlir::Value status = firBuilder->createIntegerConstant(loc, i32Ty, 0);
----------------
================
Comment at: flang/unittests/Optimizer/Builder/Runtime/StopTest.cpp:18
+ mlir::Block *block = firBuilder->getBlock();
+ EXPECT_TRUE(block);
+ checkBlockForCallOp(block, "_FortranAExit", 1);
----------------
nit
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D118141/new/
https://reviews.llvm.org/D118141
More information about the llvm-commits
mailing list