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:
River Riddle 2020-08-12 17:41:18 -07:00 committed by TensorFlow MLIR Team
parent 5252aeae8f
commit 7acc765ed7
1 changed files with 0 additions and 3 deletions

View File

@ -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