[llvm] 3d5932b - [gn] Actually reformat files after adding CodeGen deps
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue May 2 17:46:47 PDT 2023
Author: Nico Weber
Date: 2023-05-02T20:46:31-04:00
New Revision: 3d5932b114fbd193009d23a18ddd9a5c3135202e
URL: https://github.com/llvm/llvm-project/commit/3d5932b114fbd193009d23a18ddd9a5c3135202e
DIFF: https://github.com/llvm/llvm-project/commit/3d5932b114fbd193009d23a18ddd9a5c3135202e.diff
LOG: [gn] Actually reformat files after adding CodeGen deps
This should've been part of 8221c316d524695.
Added:
Modified:
llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/SystemZ/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
index 1851d5fbc683..cfb9c993d57c 100644
--- a/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang/lib/CodeGen/BUILD.gn
@@ -1,7 +1,7 @@
static_library("CodeGen") {
output_name = "clangCodeGen"
configs += [ "//llvm/utils/gn/build:clang_code" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
"//clang/include/clang/Basic:arm_cde_builtin_cg",
"//clang/include/clang/Basic:arm_mve_builtin_cg",
"//clang/include/clang/Basic:arm_sve_builtin_cg",
@@ -14,6 +14,7 @@ static_library("CodeGen") {
"//clang/lib/Lex",
"//llvm/lib/Analysis",
"//llvm/lib/Bitcode/Reader",
+ "//llvm/lib/CodeGen",
"//llvm/lib/Demangle",
"//llvm/lib/Frontend/HLSL",
"//llvm/lib/IR",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
index a1aeca192184..421eef1ec2c5 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/AsmParser/BUILD.gn
@@ -11,8 +11,9 @@ tablegen("AArch64GenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMAArch64AsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AArch64GenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
index 9cfa22d5f3dd..e0a4362c2e16 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AArch64/MCTargetDesc/BUILD.gn
@@ -57,10 +57,11 @@ group("tablegen") {
static_library("MCTargetDesc") {
output_name = "LLVMAArch64Desc"
public_deps = [ ":tablegen" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AArch64GenAsmWriter",
":AArch64GenAsmWriter1",
":AArch64GenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/AArch64/TargetInfo",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
index 579a0ccf73d3..b88679d69f6b 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/AsmParser/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("AMDGPUGenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMAMDGPUAsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AMDGPUGenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
index d6edd8465b96..11bc53793650 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Disassembler/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("AMDGPUGenDisassemblerTables") {
static_library("Disassembler") {
output_name = "LLVMAMDGPUDisassembler"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AMDGPUGenDisassemblerTables",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn
index 01b8101389fb..317d7e8f8dd0 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCA/BUILD.gn
@@ -1,6 +1,7 @@
static_library("MCA") {
output_name = "LLVMAMDGPUTargetMCA"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
+ "//llvm/lib/CodeGen",
"//llvm/lib/Target/AMDGPU/MCTargetDesc",
"//llvm/lib/Target/AMDGPU/Utils",
"//llvm/lib/TargetParser",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
index 8db7000c937d..7041899d99cd 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/MCTargetDesc/BUILD.gn
@@ -81,12 +81,13 @@ group("tablegen") {
static_library("MCTargetDesc") {
output_name = "LLVMAMDGPUDesc"
public_deps = [ ":tablegen" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AMDGPUGenAsmWriter",
":AMDGPUGenMCCodeEmitter",
":R600GenAsmWriter",
":R600GenMCCodeEmitter",
"//llvm/lib/BinaryFormat",
+ "//llvm/lib/CodeGen",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
index 7d983aeba7ec..631d1ef5c7b0 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AMDGPU/Utils/BUILD.gn
@@ -9,11 +9,12 @@ tablegen("AMDGPUGenSearchableTables") {
static_library("Utils") {
output_name = "LLVMAMDGPUUtils"
public_deps = [ ":AMDGPUGenSearchableTables" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
# AMDGPUBaseInfo.cpp includes GCNSubtarget.h which after 490e348e679
# includes the generated AMDGPUGenRegisterBank.inc file :/
"../:AMDGPUGenRegisterBank",
"//llvm/lib/BinaryFormat",
+ "//llvm/lib/CodeGen",
"//llvm/lib/IR",
"//llvm/lib/MC",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
index d96411f61518..9f165939c70b 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/AsmParser/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("ARMGenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMARMAsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":ARMGenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
index 61af99355c98..12add5188a9d 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/Disassembler/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("ARMGenDisassemblerTables") {
static_library("Disassembler") {
output_name = "LLVMARMDisassembler"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":ARMGenDisassemblerTables",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
index aa06141d2670..981639faf71d 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/ARM/MCTargetDesc/BUILD.gn
@@ -48,9 +48,10 @@ group("tablegen") {
static_library("MCTargetDesc") {
output_name = "LLVMARMDesc"
public_deps = [ ":tablegen" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":ARMGenAsmWriter",
":ARMGenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
index b4f747e6496f..5014326dcee2 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/AsmParser/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("AVRGenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMAVRAsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AVRGenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
index 96492543f323..dded556b786f 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/AVR/Disassembler/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("AVRGenDisassemblerTables") {
static_library("Disassembler") {
output_name = "LLVMAVRDisassembler"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AVRGenDisassemblerTables",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
"//llvm/lib/Target/AVR:LLVMAVRCodeGen",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
index fc91040d3edc..5b8674b6b0f5 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/AsmParser/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("LanaiGenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMLanaiAsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":LanaiGenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
index bd7c5f7bf69b..e3a7db5fa30c 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/Lanai/Disassembler/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("LanaiGenDisassemblerTables") {
static_library("Disassembler") {
output_name = "LLVMLanaiDisassembler"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":LanaiGenDisassemblerTables",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
"//llvm/lib/Target/Lanai/MCTargetDesc",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
index f98bb20173c4..059321503f5b 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/Mips/MCTargetDesc/BUILD.gn
@@ -48,9 +48,10 @@ group("tablegen") {
static_library("MCTargetDesc") {
output_name = "LLVMMipsDesc"
public_deps = [ ":tablegen" ]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":MipsGenAsmWriter",
":MipsGenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/Mips/TargetInfo",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
index 4bbfca247862..97b21360b02b 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn
@@ -41,9 +41,10 @@ static_library("MCTargetDesc") {
":PPCGenRegisterInfo",
":PPCGenSubtargetInfo",
]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":PPCGenAsmWriter",
":PPCGenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/PowerPC/TargetInfo",
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 7c768944c72e..580dfe10f406 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
@@ -41,9 +41,10 @@ static_library("MCTargetDesc") {
":SystemZGenRegisterInfo",
":SystemZGenSubtargetInfo",
]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":SystemZGenAsmWriter",
":SystemZGenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/SystemZ/TargetInfo",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
index 66cc6a2c269e..fabf7579c291 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/AsmParser/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("WebAssemblyGenAsmMatcher") {
static_library("AsmParser") {
output_name = "LLVMWebAssemblyAsmParser"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":WebAssemblyGenAsmMatcher",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
index c84c0d3c2f64..48b7e9fcc402 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Disassembler/BUILD.gn
@@ -8,8 +8,9 @@ tablegen("WebAssemblyGenDisassemblerTables") {
static_library("Disassembler") {
output_name = "LLVMWebAssemblyDisassembler"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":WebAssemblyGenDisassemblerTables",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Support",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
index 31e3708ca448..325c932b1cea 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
@@ -45,9 +45,10 @@ static_library("MCTargetDesc") {
":WebAssemblyGenSubtargetInfo",
":tablegen",
]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":WebAssemblyGenAsmWriter",
":WebAssemblyGenMCCodeEmitter",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/Support",
"//llvm/lib/Target/WebAssembly/TargetInfo",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn
index 568abe555420..cf863a6b8d68 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCA/BUILD.gn
@@ -1,6 +1,7 @@
static_library("MCA") {
output_name = "LLVMTargetX86MCA"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCParser",
"//llvm/lib/MCA",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn
index 49063bdddc5d..27df3149b9cf 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/MCTargetDesc/BUILD.gn
@@ -54,9 +54,10 @@ static_library("MCTargetDesc") {
":X86GenRegisterInfo",
":X86GenSubtargetInfo",
]
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":X86GenAsmWriter",
":X86GenAsmWriter1",
+ "//llvm/lib/CodeGen",
"//llvm/lib/MC",
"//llvm/lib/MC/MCDisassembler",
"//llvm/lib/Object",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
index c6b95414c03c..4f75212b4091 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-dwarfutil/BUILD.gn
@@ -6,8 +6,9 @@ tablegen("Options") {
}
executable("llvm-dwarfutil") {
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":Options",
+ "//llvm/lib/CodeGen",
"//llvm/lib/DWARFLinker",
"//llvm/lib/DWARFLinkerParallel",
"//llvm/lib/DebugInfo/DWARF",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
index 8d82de2d6113..41dd853e40ef 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/BUILD.gn
@@ -1,9 +1,10 @@
import("//llvm/lib/Target/targets.gni")
executable("llvm-exegesis") {
- deps = ["//llvm/lib/CodeGen",
+ deps = [
"lib",
"//llvm/lib/CodeGen",
+ "//llvm/lib/CodeGen",
"//llvm/lib/ExecutionEngine",
"//llvm/lib/ExecutionEngine/MCJIT",
"//llvm/lib/MC",
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
index b4fa32ba473b..3657820cca02 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/AArch64/BUILD.gn
@@ -7,8 +7,9 @@ tablegen("AArch64GenExegesis") {
static_library("AArch64") {
output_name = "LLVMExegesisAArch64"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":AArch64GenExegesis",
+ "//llvm/lib/CodeGen",
# Exegesis reaches inside the Target/AArch64 tablegen internals and must
# depend on these Target/AArch64-internal build targets.
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
index 815debe8782e..fdb6c17607d3 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/Mips/BUILD.gn
@@ -7,8 +7,9 @@ tablegen("MipsGenExegesis") {
static_library("Mips") {
output_name = "LLVMExegesisMips"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":MipsGenExegesis",
+ "//llvm/lib/CodeGen",
"//llvm/lib/TargetParser",
# Exegesis reaches inside the Target/Mips tablegen internals and must
diff --git a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
index 3d75b365c57c..fcd6b423c9a6 100644
--- a/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/tools/llvm-exegesis/lib/PowerPC/BUILD.gn
@@ -7,8 +7,9 @@ tablegen("PPCGenExegesis") {
static_library("PowerPC") {
output_name = "LLVMExegesisPowerPC"
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":PPCGenExegesis",
+ "//llvm/lib/CodeGen",
"//llvm/lib/TargetParser",
# Exegesis reaches inside the Target/PowerPC tablegen internals and must
diff --git a/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
index fd1ce1303a09..91e39b70826f 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/DebugInfo/DWARF/BUILD.gn
@@ -1,7 +1,8 @@
import("//third-party/unittest/unittest.gni")
unittest("DebugInfoDWARFTests") {
- deps = ["//llvm/lib/CodeGen",
+ deps = [
+ "//llvm/lib/CodeGen",
"//llvm/lib/CodeGen/AsmPrinter",
"//llvm/lib/DebugInfo/DWARF",
"//llvm/lib/MC",
diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
index 72845390dd6f..751e23718398 100644
--- a/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/BUILD.gn
@@ -21,9 +21,10 @@ executable("llvm-min-tblgen") {
}
executable("llvm-tblgen") {
- deps = ["//llvm/lib/CodeGen",
+ deps = [
":llvm-min-tblgen-sources",
"//llvm/include/llvm/Config:llvm-config",
+ "//llvm/lib/CodeGen",
"//llvm/lib/Support",
"//llvm/lib/TableGen",
"//llvm/utils/TableGen/GlobalISel",
diff --git a/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
index bc946d83eddd..49100d9fbe4e 100644
--- a/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/utils/TableGen/GlobalISel/BUILD.gn
@@ -1,7 +1,8 @@
static_library("GlobalISel") {
- deps = ["//llvm/lib/CodeGen",
+ deps = [
"//llvm/include/llvm/CodeGen:GenVT",
"//llvm/lib/CodeGen",
+ "//llvm/lib/CodeGen",
"//llvm/lib/Support",
]
sources = [
More information about the llvm-commits
mailing list