[Mlir-commits] [mlir] [mlir][spirv] Handle vectors of integers of unsupported width (PR #118663)

Jakub Kuderski llvmlistbot at llvm.org
Wed Dec 4 08:37:23 PST 2024


================
@@ -348,6 +353,9 @@ convertVectorType(const spirv::TargetEnv &targetEnv,
     }
 
     Type elementType = convertSubByteIntegerType(options, intType);
+    if (!elementType)
+      return nullptr;
----------------
kuhar wrote:

The bug was essentially that it assumed that `convertSubByteIntegerType` would always succeed, but this is not the case even prior to my change related to subbyte types.

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


More information about the Mlir-commits mailing list