Integrate LLVM at llvm/llvm-project@b6d9add71b
Updates LLVM usage to match [b6d9add71b1a](https://github.com/llvm/llvm-project/commit/b6d9add71b1a) PiperOrigin-RevId: 325589103
This commit is contained in:
parent
53fdda7f3e
commit
e6fa003bf2
|
@ -1,2 +1,2 @@
|
|||
9dbdaea9a0e6f58417b5bd8980e7ea6723fd1783
|
||||
b6d9add71b1a7bc77ce504ed09a43288ca67c0cd
|
||||
|
||||
|
|
|
@ -32,8 +32,14 @@ namespace mlir {
|
|||
namespace chlo {
|
||||
|
||||
class HloClientDialect : public Dialect {
|
||||
void initialize();
|
||||
|
||||
public:
|
||||
explicit HloClientDialect(MLIRContext *context);
|
||||
explicit HloClientDialect(MLIRContext *context)
|
||||
: Dialect(getDialectNamespace(), context,
|
||||
TypeID::get<HloClientDialect>()) {
|
||||
initialize();
|
||||
}
|
||||
static StringRef getDialectNamespace() { return "chlo"; }
|
||||
};
|
||||
|
||||
|
|
|
@ -266,8 +266,7 @@ BROADCAST_BINARY_OP_DEFS(BroadcastXorOp);
|
|||
// chlo Dialect Constructor
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
HloClientDialect::HloClientDialect(MLIRContext* context)
|
||||
: Dialect(getDialectNamespace(), context) {
|
||||
void HloClientDialect::initialize() {
|
||||
addOperations<
|
||||
#define GET_OP_LIST
|
||||
#include "mlir-hlo/Dialect/mhlo/IR/chlo_ops.cc.inc"
|
||||
|
|
|
@ -2188,7 +2188,7 @@ struct HLOInlinerInterface : public DialectInlinerInterface {
|
|||
//===----------------------------------------------------------------------===//
|
||||
|
||||
MhloDialect::MhloDialect(MLIRContext* context)
|
||||
: Dialect(getDialectNamespace(), context) {
|
||||
: Dialect(getDialectNamespace(), context, TypeID::get<MhloDialect>()) {
|
||||
addOperations<
|
||||
#define GET_OP_LIST
|
||||
#include "mlir-hlo/Dialect/mhlo/IR/hlo_ops.cc.inc"
|
||||
|
|
|
@ -49,7 +49,7 @@ namespace mlir {
|
|||
namespace lmhlo {
|
||||
|
||||
LmhloDialect::LmhloDialect(MLIRContext *context)
|
||||
: Dialect(getDialectNamespace(), context) {
|
||||
: Dialect(getDialectNamespace(), context, TypeID::get<LmhloDialect>()) {
|
||||
addOperations<
|
||||
#define GET_OP_LIST
|
||||
#include "mlir-hlo/Dialect/mhlo/IR/lhlo_ops.cc.inc"
|
||||
|
|
Loading…
Reference in New Issue