Integrate LLVM at llvm/llvm-project@e75bc5c791
Updates LLVM usage to match [e75bc5c791e0](https://github.com/llvm/llvm-project/commit/e75bc5c791e0) PiperOrigin-RevId: 327449456
This commit is contained in:
parent
98c7ffb55f
commit
75d50980f5
|
@ -1,2 +1,2 @@
|
||||||
bf36e902953a4bf8ac0aae5a498445951fbc3882
|
e75bc5c791e0e8dbe79f7453e55af9e8d03c9cc0
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue