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

Longsheng Mou llvmlistbot at llvm.org
Sun Feb 1 17:17:49 PST 2026


================
@@ -122,6 +122,13 @@ static bool isBoolScalarOrVector(Type type) {
   return false;
 }
 
+/// Returns true if the given `type` is an integer scalar or vector type.
+static bool isIntScalarOrVectorType(Type type) {
----------------
CoTinker wrote:

Other Ops may have same problem.

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


More information about the Mlir-commits mailing list