[gn] port 6512a8d more

24293e690 added the files added there, but didn't do the tblgen changes.
This commit is contained in:
Nico Weber
2024-10-24 08:51:51 -07:00
parent 3cec720449
commit a21573bb99

View File

@@ -1,11 +1,20 @@
import("//llvm/utils/TableGen/tablegen.gni")
tablegen("SystemZGenAsmWriter") {
tablegen("SystemZGenGNUAsmWriter") {
visibility = [ ":MCTargetDesc" ]
args = [ "-gen-asm-writer" ]
td_file = "../SystemZ.td"
}
tablegen("SystemZGenHLAsmWriter") {
visibility = [ ":MCTargetDesc" ]
args = [
"-gen-asm-writer",
"-asmwriternum=1",
]
td_file = "../SystemZ.td"
}
tablegen("SystemZGenInstrInfo") {
visibility = [ ":MCTargetDesc" ]
args = [ "-gen-instr-info" ]
@@ -42,7 +51,8 @@ static_library("MCTargetDesc") {
":SystemZGenSubtargetInfo",
]
deps = [
":SystemZGenAsmWriter",
":SystemZGenGNUAsmWriter",
":SystemZGenHLAsmWriter",
":SystemZGenMCCodeEmitter",
"//llvm/lib/CodeGen",
"//llvm/lib/MC",