[Mlir-commits] [mlir] [mlir][spirv] Add support for SPV_ARM_tensors (PR #144667)

Igor Wodiany llvmlistbot at llvm.org
Wed Jun 18 06:46:32 PDT 2025


================
@@ -125,6 +127,8 @@ unsigned CompositeType::getNumElements() const {
     return structType.getNumElements();
   if (auto vectorType = llvm::dyn_cast<VectorType>(*this))
     return vectorType.getNumElements();
+  if (auto tensorArmType = llvm::dyn_cast<TensorArmType>(*this))
----------------
IgWod-IMG wrote:

No need for `llvm::`... I think :) Also below.

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


More information about the Mlir-commits mailing list