Skip to content

Commit 12a7155

Browse files
committed
[mlir][bazel] Port mlir-translate bits of acf964b.
1 parent d6e2aee commit 12a7155

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

utils/bazel/llvm-project-overlay/mlir/BUILD.bazel

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6410,6 +6410,22 @@ cc_library(
64106410
],
64116411
)
64126412

6413+
cc_library(
6414+
name = "TargetSMTLIB",
6415+
srcs = ["lib/Target/SMTLIB/ExportSMTLIB.cpp"],
6416+
hdrs = glob(["include/mlir/Target/SMTLIB/*.h"]),
6417+
includes = ["include"],
6418+
deps = [
6419+
":ArithUtils",
6420+
":FuncDialect",
6421+
":IR",
6422+
":SMTDialect",
6423+
":Support",
6424+
":TranslateLib",
6425+
"//llvm:Support",
6426+
],
6427+
)
6428+
64136429
td_library(
64146430
name = "SPIRVImageInterfacesTdFiles",
64156431
srcs = ["include/mlir/Dialect/SPIRV/Interfaces/SPIRVImageInterfaces.td"],
@@ -8689,6 +8705,7 @@ cc_library(
86898705
":FromLLVMIRTranslationRegistration",
86908706
":SPIRVTranslateRegistration",
86918707
":TargetCpp",
8708+
":TargetSMTLIB",
86928709
":ToLLVMIRTranslationRegistration",
86938710
],
86948711
)

0 commit comments

Comments
 (0)