Internal change
PiperOrigin-RevId: 327285397 Change-Id: Ie8bc88a2210b810b3c6037cfd5bd051b9fdea2bb
This commit is contained in:
parent
1fc05b28f5
commit
6547301e98
31
third_party/mlir/BUILD
vendored
31
third_party/mlir/BUILD
vendored
@ -974,9 +974,14 @@ cc_library(
|
||||
"lib/Support/MlirOptMain.cpp",
|
||||
],
|
||||
),
|
||||
hdrs = glob([
|
||||
"include/mlir/Support/*.h",
|
||||
]),
|
||||
hdrs = glob(
|
||||
[
|
||||
"include/mlir/Support/*.h",
|
||||
],
|
||||
exclude = [
|
||||
"include/mlir/Support/MlirOptMain.h",
|
||||
],
|
||||
),
|
||||
includes = ["include"],
|
||||
deps = [
|
||||
"@llvm-project//llvm:Support",
|
||||
@ -2921,9 +2926,8 @@ cc_library(
|
||||
alwayslink = 1,
|
||||
)
|
||||
|
||||
# TODO(jpienaar): This library should be removed.
|
||||
cc_library(
|
||||
name = "MlirOptMain",
|
||||
cc_binary(
|
||||
name = "mlir-opt",
|
||||
srcs = [
|
||||
"tools/mlir-opt/mlir-opt.cpp",
|
||||
],
|
||||
@ -2933,22 +2937,11 @@ cc_library(
|
||||
":Analysis",
|
||||
":IR",
|
||||
":MlirOptLib",
|
||||
":Pass",
|
||||
":Support",
|
||||
"@llvm-project//llvm:Support",
|
||||
],
|
||||
)
|
||||
|
||||
cc_binary(
|
||||
name = "mlir-opt",
|
||||
deps = [
|
||||
":Analysis",
|
||||
":IR",
|
||||
":MlirOptLib",
|
||||
":MlirOptMain",
|
||||
":OpenMPDialect",
|
||||
":Pass",
|
||||
":QuantOps",
|
||||
":SCFToGPUPass",
|
||||
":Support",
|
||||
":Transforms",
|
||||
"@llvm-project//llvm:AllTargetsCodeGens",
|
||||
"@llvm-project//llvm:Support",
|
||||
|
Loading…
Reference in New Issue
Block a user