[llvm] a21573b - [gn] port 6512a8d more
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 24 08:52:33 PDT 2024
Author: Nico Weber
Date: 2024-10-24T08:52:23-07:00
New Revision: a21573bb99735e6364bb150c4bbae3423bfc2973
URL: https://github.com/llvm/llvm-project/commit/a21573bb99735e6364bb150c4bbae3423bfc2973
DIFF: https://github.com/llvm/llvm-project/commit/a21573bb99735e6364bb150c4bbae3423bfc2973.diff
LOG: [gn] port 6512a8d more
24293e690 added the files added there, but didn't do the tblgen changes.
Added:
Modified:
llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn
index 3897967d138c7b..edc3edc8d50ffb 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn
@@ -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",
More information about the llvm-commits
mailing list