[gn build] reformat all gn files
authorNico Weber <thakis@chromium.org>
Mon, 26 Apr 2021 20:04:23 +0000 (16:04 -0400)
committerNico Weber <thakis@chromium.org>
Mon, 26 Apr 2021 20:04:23 +0000 (16:04 -0400)
$ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format

llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn
llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn

index 0fd628c..22d9ae8 100644 (file)
@@ -42,8 +42,8 @@ static_library("MCTargetDesc") {
   # by other targets. .inc files only used by .cpp files in this directory
   # should be in deps instead.
   public_deps = [
-    ":tablegen",
     ":WebAssemblyGenSubtargetInfo",
+    ":tablegen",
   ]
   deps = [
     ":WebAssemblyGenAsmWriter",
index d9f36d2..b37a00a 100644 (file)
@@ -13,7 +13,7 @@ static_library("Utils") {
   ]
   include_dirs = [ ".." ]
   sources = [
-    "WebAssemblyUtilities.cpp",
     "WebAssemblyTypeUtilities.cpp",
+    "WebAssemblyUtilities.cpp",
   ]
 }
index be4b8ce..876d051 100644 (file)
@@ -111,7 +111,6 @@ static_library("LLVMX86CodeGen") {
     "X86LoadValueInjectionRetHardening.cpp",
     "X86LowerAMXIntrinsics.cpp",
     "X86LowerAMXType.cpp",
-    "X86PreAMXConfig.cpp",
     "X86LowerTileCopy.cpp",
     "X86MCInstLower.cpp",
     "X86MachineFunctionInfo.cpp",
@@ -119,6 +118,7 @@ static_library("LLVMX86CodeGen") {
     "X86OptimizeLEAs.cpp",
     "X86PadShortFunction.cpp",
     "X86PartialReduction.cpp",
+    "X86PreAMXConfig.cpp",
     "X86PreTileConfig.cpp",
     "X86RegisterBankInfo.cpp",
     "X86RegisterInfo.cpp",