[Mlir-commits] [mlir] [MLIR][Spirv] Don't lower tensors that can't be represented by an ArrayType (PR #171002)

Stefan Weigl-Bosker llvmlistbot at llvm.org
Mon Dec 8 09:46:43 PST 2025


================
@@ -502,6 +502,11 @@ static Type convertTensorType(const spirv::TargetEnv &targetEnv,
                << type << " illegal: cannot handle zero-element tensors\n");
     return nullptr;
   }
+  if (arrayElemCount > std::numeric_limits<unsigned>::max()) {
----------------
sweiglbosker wrote:

In that case, can this be merged?

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


More information about the Mlir-commits mailing list