Remove mlir-auto-init.cpp : registration is explicit now.

PiperOrigin-RevId: 330972493
Change-Id: I1b780751f60682988e6c5217a5b4d9c1f75f6ecd
This commit is contained in:
Mehdi Amini 2020-09-10 11:00:14 -07:00 committed by TensorFlower Gardener
parent f1a3ea4d54
commit 35d9474383
2 changed files with 0 additions and 16 deletions

View File

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

View File

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