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

Akimasa Watanuki llvmlistbot at llvm.org
Sun Sep 13 21:46:04 PDT 2026


================
@@ -1,3 +1,5 @@
+// RUN: not mlir-opt %s -test-parallel-loop-unrolling -split-input-file 2>&1 | FileCheck %s --check-prefix=CHECK-MISSING-FACTORS
+// RUN: not mlir-opt %s -test-parallel-loop-unrolling='unroll-factors=1,0' -split-input-file 2>&1 | FileCheck %s --check-prefix=CHECK-ZERO-FACTOR
----------------
Men-cotton wrote:

I verified that both cases work with `-verify-diagnostics` and `expected-error at unknown`, without `not` or `2>&1`. I think this one is better.

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


More information about the Mlir-commits mailing list