Skip to content

Commit a21573b

Browse files
committed
[gn] port 6512a8d more
24293e6 added the files added there, but didn't do the tblgen changes.
1 parent 3cec720 commit a21573b

File tree

1 file changed

+12
-2
lines changed
  • llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc

1 file changed

+12
-2
lines changed

llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,20 @@
11
import("//llvm/utils/TableGen/tablegen.gni")
22

3-
tablegen("SystemZGenAsmWriter") {
3+
tablegen("SystemZGenGNUAsmWriter") {
44
visibility = [ ":MCTargetDesc" ]
55
args = [ "-gen-asm-writer" ]
66
td_file = "../SystemZ.td"
77
}
88

9+
tablegen("SystemZGenHLAsmWriter") {
10+
visibility = [ ":MCTargetDesc" ]
11+
args = [
12+
"-gen-asm-writer",
13+
"-asmwriternum=1",
14+
]
15+
td_file = "../SystemZ.td"
16+
}
17+
918
tablegen("SystemZGenInstrInfo") {
1019
visibility = [ ":MCTargetDesc" ]
1120
args = [ "-gen-instr-info" ]
@@ -42,7 +51,8 @@ static_library("MCTargetDesc") {
4251
":SystemZGenSubtargetInfo",
4352
]
4453
deps = [
45-
":SystemZGenAsmWriter",
54+
":SystemZGenGNUAsmWriter",
55+
":SystemZGenHLAsmWriter",
4656
":SystemZGenMCCodeEmitter",
4757
"//llvm/lib/CodeGen",
4858
"//llvm/lib/MC",

0 commit comments

Comments
 (0)