[llvm] f52c950 - [gn] reformat all gn files
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 14 10:35:31 PDT 2023
Author: Nico Weber
Date: 2023-03-14T18:35:07+01:00
New Revision: f52c9500b426d249d083b747a70865e2a7190763
URL: https://github.com/llvm/llvm-project/commit/f52c9500b426d249d083b747a70865e2a7190763
DIFF: https://github.com/llvm/llvm-project/commit/f52c9500b426d249d083b747a70865e2a7190763.diff
LOG: [gn] reformat all gn files
I ran:
git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format
Added:
Modified:
llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
Removed:
################################################################################
diff --git a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
index f928f0bbb35c4..19ddd4ea89c00 100644
--- a/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/lib/scudo/BUILD.gn
@@ -14,8 +14,8 @@ group("scudo") {
"standalone/benchmarks:ScudoBenchmarks($toolchain)",
"standalone/tests:ScudoCUnitTest($toolchain)",
"standalone/tests:ScudoCxxUnitTest($toolchain)",
- "standalone/tests:ScudoUnitTest($toolchain)",
"standalone/tests:ScudoHooksUnitTest($toolchain)",
+ "standalone/tests:ScudoUnitTest($toolchain)",
]
}
testonly = true
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
index 74358e484131d..e2351f36ed1b1 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn
@@ -93,8 +93,8 @@ static_library("LLVMX86CodeGen") {
"X86FastPreTileConfig.cpp",
"X86FastTileConfig.cpp",
"X86FixupBWInsts.cpp",
- "X86FixupLEAs.cpp",
"X86FixupInstTuning.cpp",
+ "X86FixupLEAs.cpp",
"X86FixupSetCC.cpp",
"X86FlagsCopyLowering.cpp",
"X86FloatingPoint.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
index b3d84fb813036..035ed661dce39 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Transforms/Utils/BUILD.gn
@@ -11,7 +11,6 @@ static_library("Utils") {
"ASanStackFrameLayout.cpp",
"AddDiscriminators.cpp",
"AssumeBundleBuilder.cpp",
- "CountVisits.cpp",
"BasicBlockUtils.cpp",
"BreakCriticalEdges.cpp",
"BuildLibCalls.cpp",
@@ -25,6 +24,7 @@ static_library("Utils") {
"CodeExtractor.cpp",
"CodeLayout.cpp",
"CodeMoverUtils.cpp",
+ "CountVisits.cpp",
"CtorUtils.cpp",
"Debugify.cpp",
"DemoteRegToStack.cpp",
diff --git a/llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn b/llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
index 75ecb26f4c7e1..be5ddad1caa2d 100644
--- a/llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/unittests/Target/AMDGPU/BUILD.gn
@@ -7,8 +7,8 @@ unittest("AMDGPUTests") {
# AMDGPUBaseInfo.cpp includes GCNSubtarget.h which after 490e348e679
# includes the generated AMDGPUGenRegisterBank.inc file :/
- "//llvm/lib/Target/AMDGPU/:AMDGPUGenRegisterBank",
"//llvm/lib/Target/AMDGPU:LLVMAMDGPUCodeGen",
+ "//llvm/lib/Target/AMDGPU/:AMDGPUGenRegisterBank",
"//llvm/lib/Target/AMDGPU/MCTargetDesc",
"//llvm/lib/Target/AMDGPU/TargetInfo",
"//llvm/lib/Target/AMDGPU/Utils",
More information about the llvm-commits
mailing list