From 5529878f8ec6a472d82adac433bb51ba576d2134 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Mon, 26 Apr 2021 16:04:23 -0400 Subject: [PATCH] [gn build] reformat all gn files $ git ls-files '*.gn' '*.gni' | xargs llvm/utils/gn/gn.py format --- .../secondary/llvm/lib/Target/WebAssembly/MCTargetDesc/BUILD.gn | 2 +- .../gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn | 2 +- llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 0fd628c69af9..22d9ae8f464d 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 @@ -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", diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn index d9f36d240d83..b37a00a0b56b 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/WebAssembly/Utils/BUILD.gn @@ -13,7 +13,7 @@ static_library("Utils") { ] include_dirs = [ ".." ] sources = [ - "WebAssemblyUtilities.cpp", "WebAssemblyTypeUtilities.cpp", + "WebAssemblyUtilities.cpp", ] } 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 be4b8ce8360a..876d05102382 100644 --- a/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn +++ b/llvm/utils/gn/secondary/llvm/lib/Target/X86/BUILD.gn @@ -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",