[Mlir-commits] [mlir] [mlir][arith] Fix crash in IntRangeOptimizations due to stale solver state (PR #186187)

Krzysztof Drewniak llvmlistbot at llvm.org
Thu Mar 12 10:18:26 PDT 2026


================
@@ -148,3 +148,107 @@ func.func @analysis_crash(%arg0: i32, %arg1: tensor<128xi1>) -> tensor<128xi64>
   %2 = arith.extsi %1 : tensor<128xi32> to tensor<128xi64>
   return %2 : tensor<128xi64>
 }
+
+// -----
+
+// Make sure int-range-optimizations does not crash when potential control-flow folding
----------------
krzysz00 wrote:

Can we reduce this testcase?

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


More information about the Mlir-commits mailing list