[llvm] Ensure newlines at the end of files (NFC)
authorKazu Hirata <kazu@google.com>
Sun, 10 Jan 2021 17:24:56 +0000 (09:24 -0800)
committerKazu Hirata <kazu@google.com>
Sun, 10 Jan 2021 17:24:57 +0000 (09:24 -0800)
This patch eliminates pesky "No newline at end of file" messages from
git diff.

llvm/include/llvm/Analysis/FunctionPropertiesAnalysis.h
llvm/include/llvm/Analysis/InlineSizeEstimatorAnalysis.h
llvm/include/llvm/Analysis/MLInlineAdvisor.h
llvm/include/llvm/Target/CGPassBuilderOption.h
llvm/lib/Analysis/FunctionPropertiesAnalysis.cpp
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
llvm/lib/CodeGen/LiveIntervalCalc.cpp
llvm/lib/Target/AArch64/AArch64InstrGISel.td
llvm/lib/Target/Mips/MipsInstrInfo.cpp
llvm/lib/Target/PowerPC/PPCCCState.cpp

index a39c4e5..a5f96e7 100644 (file)
@@ -83,4 +83,4 @@ public:
 };
 
 } // namespace llvm
-#endif // LLVM_FUNCTIONPROPERTIESANALYSIS_H_
\ No newline at end of file
+#endif // LLVM_FUNCTIONPROPERTIESANALYSIS_H_
index 5fc919a..ab2cf52 100644 (file)
@@ -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
index cbe3b1f..5dedef0 100644 (file)
@@ -104,4 +104,4 @@ private:
 
 } // namespace llvm
 
-#endif // LLVM_ANALYSIS_MLINLINEADVISOR_H
\ No newline at end of file
+#endif // LLVM_ANALYSIS_MLINLINEADVISOR_H
index 13b8e68..c3a221e 100644 (file)
@@ -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
index b6ff27d..3351903 100644 (file)
@@ -85,4 +85,4 @@ FunctionPropertiesPrinterPass::run(Function &F, FunctionAnalysisManager &AM) {
      << "\n";
   AM.getResult<FunctionPropertiesAnalysis>(F).print(OS);
   return PreservedAnalyses::all();
-}
\ No newline at end of file
+}
index 61b2611..bd0f2ec 100644 (file)
@@ -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
+}
index e8fd069..2756086 100644 (file)
@@ -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
+}
index ec7817b..430155c 100644 (file)
@@ -167,4 +167,4 @@ def : GINodeEquiv<G_VLSHR, AArch64vlshr>;
 // 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)))>;
index 0c60802..94828a9 100644 (file)
@@ -894,4 +894,4 @@ Optional<RegImmPair> MipsInstrInfo::isAddImmediate(const MachineInstr &MI,
   }
   }
   return None;
-}
\ No newline at end of file
+}
index 5116f0d..79ffc66 100644 (file)
@@ -32,4 +32,4 @@ void PPCCCState::PreAnalyzeFormalArguments(
       OriginalArgWasPPCF128.push_back(false);
     }
   }
-}
\ No newline at end of file
+}