Updates LLVM usage to match
[e75bc5c791e0](https://github.com/llvm/llvm-project/commit/e75bc5c791e0)

PiperOrigin-RevId: 327449456
This commit is contained in:
A. Unique TensorFlower 2020-08-19 09:37:52 -07:00 committed by TensorFlow MLIR Team
parent 98c7ffb55f
commit 75d50980f5
2 changed files with 1 additions and 11 deletions

View File

@ -1,2 +1,2 @@
bf36e902953a4bf8ac0aae5a498445951fbc3882 e75bc5c791e0e8dbe79f7453e55af9e8d03c9cc0

View File

@ -56,19 +56,9 @@ class MhloDialect : public Dialect {
void printType(Type type, DialectAsmPrinter &os) const override; void printType(Type type, DialectAsmPrinter &os) const override;
}; };
namespace HLOTypes {
enum Kind {
Token = Type::FIRST_XLA_HLO_TYPE,
};
} // namespace HLOTypes
class TokenType : public Type::TypeBase<TokenType, Type, TypeStorage> { class TokenType : public Type::TypeBase<TokenType, Type, TypeStorage> {
public: public:
using Base::Base; using Base::Base;
static TokenType get(MLIRContext *context) {
return Base::get(context, HLOTypes::Token);
}
}; };
// Shape derivation function that computes the shape of the result based on // Shape derivation function that computes the shape of the result based on