Remove kindof definitions on derived mlir Attribute and Type classes
This method no longer needs to be explicitly defined by the user, so all of the existing definitions are dead and can be removed. PiperOrigin-RevId: 326350650
This commit is contained in:
parent
5252aeae8f
commit
7acc765ed7
|
@ -69,9 +69,6 @@ class TokenType : public Type::TypeBase<TokenType, Type, TypeStorage> {
|
|||
static TokenType get(MLIRContext *context) {
|
||||
return Base::get(context, HLOTypes::Token);
|
||||
}
|
||||
|
||||
// Support method to enable LLVM-style type casting.
|
||||
static bool kindof(unsigned kind) { return kind == HLOTypes::Token; }
|
||||
};
|
||||
|
||||
// Shape derivation function that computes the shape of the result based on
|
||||
|
|
Loading…
Reference in New Issue