[Mlir-commits] [mlir] [mlir][SCF] Avoid crash in parallel loop unrolling test pass (PR #222644)

Federico Bruzzone llvmlistbot at llvm.org
Mon Sep 14 02:42:36 PDT 2026


================
@@ -0,0 +1,11 @@
+// RUN: split-file %s %t
+// RUN: mlir-opt %t/missing-factors.mlir -test-parallel-loop-unrolling -verify-diagnostics
+// RUN: mlir-opt %t/zero-factor.mlir -test-parallel-loop-unrolling='unroll-factors=1,0' -verify-diagnostics
----------------
FedericoBruzzone wrote:

Can we pass `-split-input-file` to `mlir-opt` instead of `RUN: split-file %s %t`?

Something like what the other `mlir/test/Dialect/SCF/*-invalid.mlir` files do?

https://github.com/llvm/llvm-project/pull/222644


More information about the Mlir-commits mailing list