Remove mlir-auto-init.cpp : registration is explicit now.
PiperOrigin-RevId: 330972493 Change-Id: I1b780751f60682988e6c5217a5b4d9c1f75f6ecd
This commit is contained in:
parent
f1a3ea4d54
commit
35d9474383
2
third_party/mlir/BUILD
vendored
2
third_party/mlir/BUILD
vendored
@ -3006,11 +3006,9 @@ cc_library(
|
||||
|
||||
cc_library(
|
||||
name = "AllPassesAndDialects",
|
||||
srcs = ["@org_tensorflow//third_party/mlir:mlir-auto-init.cpp"],
|
||||
deps = [
|
||||
":AllPassesAndDialectsNoRegistration",
|
||||
],
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
|
14
third_party/mlir/mlir-auto-init.cpp
vendored
14
third_party/mlir/mlir-auto-init.cpp
vendored
@ -1,14 +0,0 @@
|
||||
#include "mlir/InitAllDialects.h"
|
||||
#include "mlir/InitAllPasses.h"
|
||||
|
||||
namespace mlir {
|
||||
// This target is a convenient dependency for users to auto-initialize MLIR
|
||||
// internals.
|
||||
static bool auto_init = []() {
|
||||
registerAllDialects();
|
||||
registerAllPasses();
|
||||
|
||||
return true;
|
||||
}();
|
||||
|
||||
} // namespace mlir
|
Loading…
x
Reference in New Issue
Block a user