From 0045d30d7081c4bfc176ef90646cad5183f4ea4c Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Tue, 11 Sep 2018 17:28:43 +0000 Subject: [PATCH] Test commit: remove trailing whitespace llvm-svn: 341966 --- include/llvm/ADT/STLExtras.h | 2 +- include/llvm/Analysis/AliasSetTracker.h | 2 +- include/llvm/ExecutionEngine/Orc/OrcABISupport.h | 2 +- include/llvm/Support/FileCheck.h | 2 +- include/llvm/Transforms/Utils/LoopUtils.h | 2 +- lib/Target/PowerPC/PPCInstrInfo.h | 2 +- utils/TableGen/CodeGenSchedule.h | 2 +- utils/TableGen/X86ModRMFilters.h | 6 +++--- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 35f4c4e5af3..3197d3a7389 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -1132,7 +1132,7 @@ auto lower_bound(R &&Range, ForwardIt I) -> decltype(adl_begin(Range)) { /// Wrapper function around std::equal to detect if all elements /// in a container are same. -template +template bool is_splat(R &&Range) { size_t range_size = size(Range); return range_size != 0 && (range_size == 1 || diff --git a/include/llvm/Analysis/AliasSetTracker.h b/include/llvm/Analysis/AliasSetTracker.h index 00dec716ed6..0dc3624cb4c 100644 --- a/include/llvm/Analysis/AliasSetTracker.h +++ b/include/llvm/Analysis/AliasSetTracker.h @@ -378,7 +378,7 @@ public: /// Return the alias set which contains the specified memory location. If /// the memory location aliases two or more existing alias sets, will have /// the effect of merging those alias sets before the single resulting alias - /// set is returned. + /// set is returned. AliasSet &getAliasSetFor(const MemoryLocation &MemLoc); /// Return true if the specified instruction "may" (or must) alias one of the diff --git a/include/llvm/ExecutionEngine/Orc/OrcABISupport.h b/include/llvm/ExecutionEngine/Orc/OrcABISupport.h index 15d0278636a..49e7b534f21 100644 --- a/include/llvm/ExecutionEngine/Orc/OrcABISupport.h +++ b/include/llvm/ExecutionEngine/Orc/OrcABISupport.h @@ -247,7 +247,7 @@ public: static const unsigned TrampolineSize = 20; static const unsigned ResolverCodeSize = 0xfc; using IndirectStubsInfo = GenericIndirectStubsInfo<16>; - + using JITReentryFn = JITTargetAddress (*)(void *CallbackMgr, void *TrampolineId); /// @brief Write the requsted number of trampolines into the given memory, diff --git a/include/llvm/Support/FileCheck.h b/include/llvm/Support/FileCheck.h index e68accabf2b..de8d46bcb8f 100644 --- a/include/llvm/Support/FileCheck.h +++ b/include/llvm/Support/FileCheck.h @@ -80,7 +80,7 @@ class FileCheckPattern { std::vector> VariableUses; /// Maps definitions of variables to their parenthesized capture numbers. - /// + /// /// E.g. for the pattern "foo[[bar:.*]]baz", VariableDefs will map "bar" to /// 1. std::map VariableDefs; diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h index f172145f3db..c071ebacb33 100644 --- a/include/llvm/Transforms/Utils/LoopUtils.h +++ b/include/llvm/Transforms/Utils/LoopUtils.h @@ -496,7 +496,7 @@ void getLoopAnalysisUsage(AnalysisUsage &AU); /// \p TargetExecutesOncePerLoop is true only when it is guaranteed that the /// target executes at most once per execution of the loop body. This is used /// to assess the legality of duplicating atomic loads. Generally, this is -/// true when moving out of loop and not true when moving into loops. +/// true when moving out of loop and not true when moving into loops. /// If \p ORE is set use it to emit optimization remarks. bool canSinkOrHoistInst(Instruction &I, AAResults *AA, DominatorTree *DT, Loop *CurLoop, AliasSetTracker *CurAST, diff --git a/lib/Target/PowerPC/PPCInstrInfo.h b/lib/Target/PowerPC/PPCInstrInfo.h index eaf3e5a8c39..a8549e3a0d1 100644 --- a/lib/Target/PowerPC/PPCInstrInfo.h +++ b/lib/Target/PowerPC/PPCInstrInfo.h @@ -136,7 +136,7 @@ class PPCInstrInfo : public PPCGenInstrInfo { unsigned ConstantOpNo, MachineInstr &DefMI, bool KillDefMI) const; - // Try to find that, if the instruction 'MI' contains any operand that + // Try to find that, if the instruction 'MI' contains any operand that // could be forwarded from some inst that feeds it. If yes, return the // Def of that operand. And OpNoForForwarding is the operand index in // the 'MI' for that 'Def'. If we see another use of this Def between diff --git a/utils/TableGen/CodeGenSchedule.h b/utils/TableGen/CodeGenSchedule.h index 112ae08d493..fb7e735a7fe 100644 --- a/utils/TableGen/CodeGenSchedule.h +++ b/utils/TableGen/CodeGenSchedule.h @@ -466,7 +466,7 @@ private: void inferSchedClasses(); void checkMCInstPredicates() const; - + void checkCompleteness(); void inferFromRW(ArrayRef OperWrites, ArrayRef OperReads, diff --git a/utils/TableGen/X86ModRMFilters.h b/utils/TableGen/X86ModRMFilters.h index 73d5602fd91..b0248e878d0 100644 --- a/utils/TableGen/X86ModRMFilters.h +++ b/utils/TableGen/X86ModRMFilters.h @@ -38,7 +38,7 @@ public: /// @result - True if the filter returns the same value for any ModR/M /// byte; false if not. virtual bool isDumb() const { return false; } - + /// accepts - Indicates whether the filter accepts a particular ModR/M /// byte value. /// @@ -85,7 +85,7 @@ public: }; /// ExtendedFilter - Extended opcodes are classified based on the value of the -/// mod field [bits 7-6] and the value of the nnn field [bits 5-3]. +/// mod field [bits 7-6] and the value of the nnn field [bits 5-3]. class ExtendedFilter : public ModRMFilter { void anchor() override; bool R; @@ -96,7 +96,7 @@ public: /// \param r True if the mod field must be set to 11; false otherwise. /// The name is explained at ModFilter. /// \param nnn The required value of the nnn field. - ExtendedFilter(bool r, uint8_t nnn) : + ExtendedFilter(bool r, uint8_t nnn) : ModRMFilter(), R(r), NNN(nnn) {