From 13eee3533ca03ab7713a9b62b5471cd0bc317cce Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 10 Jan 2021 09:24:56 -0800 Subject: [PATCH] [llvm] Ensure newlines at the end of files (NFC) This patch eliminates pesky "No newline at end of file" messages from git diff. --- include/llvm/Analysis/FunctionPropertiesAnalysis.h | 2 +- include/llvm/Analysis/InlineSizeEstimatorAnalysis.h | 2 +- include/llvm/Analysis/MLInlineAdvisor.h | 2 +- include/llvm/Target/CGPassBuilderOption.h | 2 +- lib/Analysis/FunctionPropertiesAnalysis.cpp | 2 +- lib/CodeGen/GlobalISel/LegalizerHelper.cpp | 2 +- lib/CodeGen/LiveIntervalCalc.cpp | 2 +- lib/Target/AArch64/AArch64InstrGISel.td | 2 +- lib/Target/Mips/MipsInstrInfo.cpp | 2 +- lib/Target/PowerPC/PPCCCState.cpp | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/llvm/Analysis/FunctionPropertiesAnalysis.h b/include/llvm/Analysis/FunctionPropertiesAnalysis.h index a39c4e5413d..a5f96e72ce9 100644 --- a/include/llvm/Analysis/FunctionPropertiesAnalysis.h +++ b/include/llvm/Analysis/FunctionPropertiesAnalysis.h @@ -83,4 +83,4 @@ public: }; } // namespace llvm -#endif // LLVM_FUNCTIONPROPERTIESANALYSIS_H_ \ No newline at end of file +#endif // LLVM_FUNCTIONPROPERTIESANALYSIS_H_ diff --git a/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h b/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h index 5fc919a6dc5..ab2cf52494c 100644 --- a/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h +++ b/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h @@ -42,4 +42,4 @@ public: PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM); }; } // namespace llvm -#endif // LLVM_ANALYSIS_INLINESIZEESTIMATORANALYSIS_H \ No newline at end of file +#endif // LLVM_ANALYSIS_INLINESIZEESTIMATORANALYSIS_H diff --git a/include/llvm/Analysis/MLInlineAdvisor.h b/include/llvm/Analysis/MLInlineAdvisor.h index cbe3b1f1f4e..5dedef06f53 100644 --- a/include/llvm/Analysis/MLInlineAdvisor.h +++ b/include/llvm/Analysis/MLInlineAdvisor.h @@ -104,4 +104,4 @@ private: } // namespace llvm -#endif // LLVM_ANALYSIS_MLINLINEADVISOR_H \ No newline at end of file +#endif // LLVM_ANALYSIS_MLINLINEADVISOR_H diff --git a/include/llvm/Target/CGPassBuilderOption.h b/include/llvm/Target/CGPassBuilderOption.h index 13b8e68b75a..c3a221e01ce 100644 --- a/include/llvm/Target/CGPassBuilderOption.h +++ b/include/llvm/Target/CGPassBuilderOption.h @@ -62,4 +62,4 @@ CGPassBuilderOption getCGPassBuilderOption(); } // namespace llvm -#endif // LLVM_CODEGEN_PASSBUILDER_OPTION_H \ No newline at end of file +#endif // LLVM_CODEGEN_PASSBUILDER_OPTION_H diff --git a/lib/Analysis/FunctionPropertiesAnalysis.cpp b/lib/Analysis/FunctionPropertiesAnalysis.cpp index b6ff27dcaf5..33519038e22 100644 --- a/lib/Analysis/FunctionPropertiesAnalysis.cpp +++ b/lib/Analysis/FunctionPropertiesAnalysis.cpp @@ -85,4 +85,4 @@ FunctionPropertiesPrinterPass::run(Function &F, FunctionAnalysisManager &AM) { << "\n"; AM.getResult(F).print(OS); return PreservedAnalyses::all(); -} \ No newline at end of file +} diff --git a/lib/CodeGen/GlobalISel/LegalizerHelper.cpp b/lib/CodeGen/GlobalISel/LegalizerHelper.cpp index 61b2611866f..bd0f2ec6b4f 100644 --- a/lib/CodeGen/GlobalISel/LegalizerHelper.cpp +++ b/lib/CodeGen/GlobalISel/LegalizerHelper.cpp @@ -6246,4 +6246,4 @@ LegalizerHelper::LegalizeResult LegalizerHelper::lowerSelect(MachineInstr &MI) { MIRBuilder.buildOr(DstReg, NewOp1, NewOp2); MI.eraseFromParent(); return Legalized; -} \ No newline at end of file +} diff --git a/lib/CodeGen/LiveIntervalCalc.cpp b/lib/CodeGen/LiveIntervalCalc.cpp index e8fd069d17a..2756086cb8b 100644 --- a/lib/CodeGen/LiveIntervalCalc.cpp +++ b/lib/CodeGen/LiveIntervalCalc.cpp @@ -202,4 +202,4 @@ void LiveIntervalCalc::extendToUses(LiveRange &LR, Register Reg, // reading Reg multiple times. That is OK, extend() is idempotent. extend(LR, UseIdx, Reg, Undefs); } -} \ No newline at end of file +} diff --git a/lib/Target/AArch64/AArch64InstrGISel.td b/lib/Target/AArch64/AArch64InstrGISel.td index ec7817beaeb..430155c5230 100644 --- a/lib/Target/AArch64/AArch64InstrGISel.td +++ b/lib/Target/AArch64/AArch64InstrGISel.td @@ -167,4 +167,4 @@ def : GINodeEquiv; // These are patterns that we only use for GlobalISel via the importer. def : Pat<(f32 (fadd (vector_extract (v2f32 FPR64:$Rn), (i64 0)), (vector_extract (v2f32 FPR64:$Rn), (i64 1)))), - (f32 (FADDPv2i32p (v2f32 FPR64:$Rn)))>; \ No newline at end of file + (f32 (FADDPv2i32p (v2f32 FPR64:$Rn)))>; diff --git a/lib/Target/Mips/MipsInstrInfo.cpp b/lib/Target/Mips/MipsInstrInfo.cpp index 0c6080258a3..94828a97669 100644 --- a/lib/Target/Mips/MipsInstrInfo.cpp +++ b/lib/Target/Mips/MipsInstrInfo.cpp @@ -894,4 +894,4 @@ Optional MipsInstrInfo::isAddImmediate(const MachineInstr &MI, } } return None; -} \ No newline at end of file +} diff --git a/lib/Target/PowerPC/PPCCCState.cpp b/lib/Target/PowerPC/PPCCCState.cpp index 5116f0d121f..79ffc6627a6 100644 --- a/lib/Target/PowerPC/PPCCCState.cpp +++ b/lib/Target/PowerPC/PPCCCState.cpp @@ -32,4 +32,4 @@ void PPCCCState::PreAnalyzeFormalArguments( OriginalArgWasPPCF128.push_back(false); } } -} \ No newline at end of file +}