[Mlir-commits] [mlir] [mlir][spirv] Fix crash in ArithToSPIRV trunc-i lowering on tensor types (PR #179009)
Jakub Kuderski
llvmlistbot at llvm.org
Mon Feb 2 08:57:52 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))
----------------
kuhar wrote:
OK, then maybe we can add an extra parameter to `isScalarVectorOfScalars`, `excludeI1`, so that we don't have to check twice?
https://github.com/llvm/llvm-project/pull/179009
More information about the Mlir-commits
mailing list