[Mlir-commits] [mlir] [mlir][SPIR-V] Add support for SPV_INTEL_masked_gather_scatter extension (PR #189099)

Igor Wodiany llvmlistbot at llvm.org
Mon Apr 6 04:15:17 PDT 2026


================
@@ -195,14 +201,18 @@ Type CompositeType::getElementType(unsigned index) const {
   return TypeSwitch<Type, Type>(*this)
       .Case<ArrayType, CooperativeMatrixType, RuntimeArrayType, VectorType,
             TensorArmType>([](auto type) { return type.getElementType(); })
+      .Case([](VectorOfPointerType type) -> Type {
----------------
IgWod wrote:

Do we need `-> Type`? It's probably better to keep it consistent with other cases.

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


More information about the Mlir-commits mailing list