[Mlir-commits] [mlir] [mlir][spirv] Fix crash in ArithToSPIRV trunc-i lowering on tensor types (PR #179009)
Samarth Narang
llvmlistbot at llvm.org
Sun Feb 1 18:37:25 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) {
----------------
snarang181 wrote:
I added the same guardrails for other ops too.
https://github.com/llvm/llvm-project/pull/179009
More information about the Mlir-commits
mailing list