[Mlir-commits] [mlir] [mlir][spirv] Fix crash in ArithToSPIRV trunc-i lowering on tensor types (PR #179009)

Samarth Narang llvmlistbot at llvm.org
Mon Feb 2 07:46:03 PST 2026


================
@@ -726,15 +723,15 @@ struct ExtSIPattern final : public OpConversionPattern<arith::ExtSIOp> {
       return failure();
 
     // extSI is only meaningful for integer scalar/vector types in SPIR-V.
-    if (!isIntScalarOrVectorType(srcType))
+    if (!isScalarOrVectorOfScalar(srcType))
----------------
snarang181 wrote:

We do, right? As the `arith.extsi` on `i1` is a special path. 

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


More information about the Mlir-commits mailing list