Skip to content

Commit 58a5340

Browse files
James Molloycopybara-github
authored andcommitted
[mlir][xls] Merge assembly_format.cc/h into xls_ops.cc/h
A subsequent CL will introduce a new attribute which requires custom printing/parsing and the separation of these libraries makes this very hard. PiperOrigin-RevId: 812765847
1 parent 42bb785 commit 58a5340

File tree

5 files changed

+304
-379
lines changed

5 files changed

+304
-379
lines changed

xls/contrib/mlir/BUILD

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -136,18 +136,6 @@ gentbl_cc_library(
136136
deps = [":xls_ops_td_files"],
137137
)
138138

139-
cc_library(
140-
name = "assembly_format",
141-
srcs = ["IR/assembly_format.cc"],
142-
hdrs = ["IR/assembly_format.h"],
143-
deps = [
144-
":xls_ops_typedefs_inc_gen",
145-
"@llvm-project//llvm:Support",
146-
"@llvm-project//mlir:IR",
147-
"@llvm-project//mlir:Support",
148-
],
149-
)
150-
151139
cc_library(
152140
name = "mlir_xls",
153141
srcs = [
@@ -167,7 +155,6 @@ cc_library(
167155
"IR/xls_ops.h",
168156
],
169157
deps = [
170-
":assembly_format",
171158
"@llvm-project//llvm:Support",
172159
"@llvm-project//mlir:FuncDialect",
173160
"@llvm-project//mlir:IR",

xls/contrib/mlir/IR/assembly_format.cc

Lines changed: 0 additions & 257 deletions
This file was deleted.

xls/contrib/mlir/IR/assembly_format.h

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)