[flang-commits] [flang] [flang] [test] add tests for FIRToSCF (PR #176026)
Scott Manley via flang-commits
flang-commits at lists.llvm.org
Thu Jan 15 14:54:06 PST 2026
================
@@ -0,0 +1,22 @@
+// Test conversions of nested ops, including a fir.do_loop nested inside an
+// OpenACC kernels region.
+//
+// RUN: fir-opt %s --fir-to-scf | FileCheck %s
+
+// CHECK-LABEL: func.func @nested_region
+// CHECK-NOT: fir.do_loop
----------------
rscottmanley wrote:
Add checks for scf here, if for some reason the fir.do_loops got deleted, this test would "pass"
https://github.com/llvm/llvm-project/pull/176026
More information about the flang-commits
mailing list