Skip to content

Commit 226230c

Browse files
committed
draft
1 parent 4f2dbf4 commit 226230c

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

mlir/include/mlir/Dialect/Linalg/IR/LinalgRelayoutOps.td

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,7 @@ class Linalg_RelayoutOp<string mnemonic, list<Trait> traits = []> :
7777
/// with `inner_dims_pos` rather than the packed tensor.
7878
SmallVector<int64_t> getTiledOuterDims();
7979
}];
80-
let extraClassDeclaration = commonExtraClassDeclaration # [{
81-
ShapedType getInputType() {
82-
return cast<ShapedType>(getInput().getType());
83-
}
84-
ShapedType getOutputType() {
85-
return cast<ShapedType>(getOutput().getType());
86-
}
87-
int64_t getInputRank() {
88-
return getInputType().getRank();
89-
}
90-
int64_t getOutputRank() {
91-
return getOutputType().getRank();
92-
}
93-
}];
80+
9481
let hasVerifier = 1;
9582
}
9683

0 commit comments

Comments
 (0)