[Mlir-commits] [mlir] [mlir] Convert TensorType and BaseMemRefType to interfaces (PR #133053)
Matthias Springer
llvmlistbot at llvm.org
Wed Mar 26 02:21:33 PDT 2025
================
@@ -143,21 +143,21 @@ def ShapedTypeInterface : TypeInterface<"ShapedType"> {
/// Return the number of elements present in the given shape.
static int64_t getNumElements(ArrayRef<int64_t> shape);
+ }];
+ let extraSharedClassDeclaration = [{
----------------
matthias-springer wrote:
Why is it necessary to split this into `extraClassDeclaration` and `extraSharedClassDeclaration`?
https://github.com/llvm/llvm-project/pull/133053
More information about the Mlir-commits
mailing list