summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-01-09 12:57:52 +0000
committerNico Weber <nicolasweber@gmx.de>2019-01-09 12:57:52 +0000
commit2b0094b0514348feaf67c9e56bd24c307b93e9ca (patch)
tree7f72f36523380a4b323f37316627a2950f9270cd
parent9222ed4485a59903606aa995bbfe157dae6ca69b (diff)
downloadbcm5719-llvm-2b0094b0514348feaf67c9e56bd24c307b93e9ca.tar.gz
bcm5719-llvm-2b0094b0514348feaf67c9e56bd24c307b93e9ca.zip
[gn build] Run `git ls-files '*.gn' '*.gni' | xargs -n 1 gn format`
Looks like I forgot to do that for the PowerPC target. llvm-svn: 350711
-rw-r--r--llvm/utils/gn/build/toolchain/BUILD.gn3
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn26
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn1
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn1
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/MCTargetDesc/BUILD.gn7
-rw-r--r--llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn1
6 files changed, 17 insertions, 22 deletions
diff --git a/llvm/utils/gn/build/toolchain/BUILD.gn b/llvm/utils/gn/build/toolchain/BUILD.gn
index e1254afc0f5..da60b86e9a9 100644
--- a/llvm/utils/gn/build/toolchain/BUILD.gn
+++ b/llvm/utils/gn/build/toolchain/BUILD.gn
@@ -50,8 +50,7 @@ toolchain("unix") {
} else {
# Remove the output file first so that ar doesn't try to modify the
# existing file.
- command =
- "rm -f {{output}} && ar rcsDT {{arflags}} {{output}} {{inputs}}"
+ command = "rm -f {{output}} && ar rcsDT {{arflags}} {{output}} {{inputs}}"
}
description = "AR {{output}}"
outputs = [
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
index 84dac6cdb12..268ea485978 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/BUILD.gn
@@ -39,37 +39,37 @@ static_library("LLVMPowerPCCodeGen") {
]
include_dirs = [ "." ]
sources = [
- "PPCBoolRetToInt.cpp",
"PPCAsmPrinter.cpp",
- "PPCBranchSelector.cpp",
+ "PPCBoolRetToInt.cpp",
"PPCBranchCoalescing.cpp",
+ "PPCBranchSelector.cpp",
"PPCCCState.cpp",
"PPCCTRLoops.cpp",
- "PPCHazardRecognizers.cpp",
- "PPCInstrInfo.cpp",
- "PPCISelDAGToDAG.cpp",
- "PPCISelLowering.cpp",
"PPCEarlyReturn.cpp",
+ "PPCExpandISEL.cpp",
"PPCFastISel.cpp",
"PPCFrameLowering.cpp",
+ "PPCHazardRecognizers.cpp",
+ "PPCISelDAGToDAG.cpp",
+ "PPCISelLowering.cpp",
+ "PPCInstrInfo.cpp",
"PPCLoopPreIncPrep.cpp",
"PPCMCInstLower.cpp",
- "PPCMachineFunctionInfo.cpp",
"PPCMIPeephole.cpp",
- "PPCRegisterInfo.cpp",
+ "PPCMachineFunctionInfo.cpp",
+ "PPCPreEmitPeephole.cpp",
"PPCQPXLoadSplat.cpp",
+ "PPCReduceCRLogicals.cpp",
+ "PPCRegisterInfo.cpp",
"PPCSubtarget.cpp",
+ "PPCTLSDynamicCall.cpp",
+ "PPCTOCRegDeps.cpp",
"PPCTargetMachine.cpp",
"PPCTargetObjectFile.cpp",
"PPCTargetTransformInfo.cpp",
- "PPCTOCRegDeps.cpp",
- "PPCTLSDynamicCall.cpp",
"PPCVSXCopy.cpp",
- "PPCReduceCRLogicals.cpp",
"PPCVSXFMAMutate.cpp",
"PPCVSXSwapRemoval.cpp",
- "PPCExpandISEL.cpp",
- "PPCPreEmitPeephole.cpp",
]
}
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn
index cdbd47ad62e..3b5febf9d8e 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/Disassembler/BUILD.gn
@@ -20,4 +20,3 @@ static_library("Disassembler") {
"PPCDisassembler.cpp",
]
}
-
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn
index fcc9633420d..8d885d6b365 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/InstPrinter/BUILD.gn
@@ -22,4 +22,3 @@ static_library("InstPrinter") {
"PPCInstPrinter.cpp",
]
}
-
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 e5e01d22404..4425612a3f1 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
@@ -52,13 +52,12 @@ static_library("MCTargetDesc") {
include_dirs = [ ".." ]
sources = [
"PPCAsmBackend.cpp",
- "PPCMCTargetDesc.cpp",
+ "PPCELFObjectWriter.cpp",
"PPCMCAsmInfo.cpp",
"PPCMCCodeEmitter.cpp",
"PPCMCExpr.cpp",
- "PPCPredicates.cpp",
+ "PPCMCTargetDesc.cpp",
"PPCMachObjectWriter.cpp",
- "PPCELFObjectWriter.cpp",
+ "PPCPredicates.cpp",
]
}
-
diff --git a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
index fe9a5ef2198..c706924563d 100644
--- a/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
+++ b/llvm/utils/gn/secondary/llvm/lib/Target/PowerPC/TargetInfo/BUILD.gn
@@ -12,4 +12,3 @@ static_library("TargetInfo") {
"PowerPCTargetInfo.cpp",
]
}
-
OpenPOWER on IntegriCloud