From 322ee9e42128124fc21f69d0d1126bd74593b380 Mon Sep 17 00:00:00 2001 From: Sanjay Patel Date: Mon, 7 Dec 2015 19:21:39 +0000 Subject: [PATCH] fix 'the the '; NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254928 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Analysis/ValueTracking.h | 2 +- lib/Analysis/LoopAccessAnalysis.cpp | 2 +- lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp | 2 +- lib/Target/Hexagon/HexagonInstrInfo.cpp | 2 +- tools/dsymutil/DwarfLinker.cpp | 2 +- tools/llc/llc.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/include/llvm/Analysis/ValueTracking.h b/include/llvm/Analysis/ValueTracking.h index eb2c000e07c..8e029106847 100644 --- a/include/llvm/Analysis/ValueTracking.h +++ b/include/llvm/Analysis/ValueTracking.h @@ -286,7 +286,7 @@ namespace llvm { /// Returns true if the result or effects of the given instructions \p I /// depend on or influence global memory. - /// Memory dependence arises for example if the the instruction reads from + /// Memory dependence arises for example if the instruction reads from /// memory or may produce effects or undefined behaviour. Memory dependent /// instructions generally cannot be reorderd with respect to other memory /// dependent instructions or moved into non-dominated basic blocks. diff --git a/lib/Analysis/LoopAccessAnalysis.cpp b/lib/Analysis/LoopAccessAnalysis.cpp index 49b28078c97..b2670bf48dd 100644 --- a/lib/Analysis/LoopAccessAnalysis.cpp +++ b/lib/Analysis/LoopAccessAnalysis.cpp @@ -289,7 +289,7 @@ void RuntimePointerChecking::groupChecks( // don't process them twice. SmallSet Seen; - // Go through all equivalence classes, get the the "pointer check groups" + // Go through all equivalence classes, get the "pointer check groups" // and add them to the overall solution. We use the order in which accesses // appear in 'Pointers' to enforce determinism. for (unsigned I = 0; I < Pointers.size(); ++I) { diff --git a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp index 64050824c10..a8622a96527 100644 --- a/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp +++ b/lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp @@ -1592,7 +1592,7 @@ int HexagonAsmParser::processInstruction(MCInst &Inst, // not use the other opcode as it is a legacy artifact of TD files. int64_t Value; if (MO.getExpr()->evaluateAsAbsolute(Value)) { - // if the the operand can fit within a 7:2 field + // if the operand can fit within a 7:2 field if (Value < (1 << 8) && Value >= -(1 << 8)) { SMLoc myLoc = Operands[2]->getStartLoc(); // # is left in startLoc in the case of ## diff --git a/lib/Target/Hexagon/HexagonInstrInfo.cpp b/lib/Target/Hexagon/HexagonInstrInfo.cpp index 3dc49337ecb..2862468563c 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.cpp +++ b/lib/Target/Hexagon/HexagonInstrInfo.cpp @@ -1475,7 +1475,7 @@ bool HexagonInstrInfo::isComplex(const MachineInstr *MI) const { } -// Return true if the the instruction is a compund branch instruction. +// Return true if the instruction is a compund branch instruction. bool HexagonInstrInfo::isCompoundBranchInstr(const MachineInstr *MI) const { return (getType(MI) == HexagonII::TypeCOMPOUND && MI->isBranch()); } diff --git a/tools/dsymutil/DwarfLinker.cpp b/tools/dsymutil/DwarfLinker.cpp index 7ac6f8ed5e3..e8877a5da89 100644 --- a/tools/dsymutil/DwarfLinker.cpp +++ b/tools/dsymutil/DwarfLinker.cpp @@ -2826,7 +2826,7 @@ void DwarfLinker::patchRangesForUnit(const CompileUnit &Unit, uint64_t OrigLowPc = OrigUnitDie->getAttributeValueAsAddress( &OrigUnit, dwarf::DW_AT_low_pc, -1ULL); // Ranges addresses are based on the unit's low_pc. Compute the - // offset we need to apply to adapt to the the new unit's low_pc. + // offset we need to apply to adapt to the new unit's low_pc. int64_t UnitPcOffset = 0; if (OrigLowPc != -1ULL) UnitPcOffset = int64_t(OrigLowPc) - Unit.getLowPc(); diff --git a/tools/llc/llc.cpp b/tools/llc/llc.cpp index 531aba1f64b..bffa39fd9e5 100644 --- a/tools/llc/llc.cpp +++ b/tools/llc/llc.cpp @@ -100,7 +100,7 @@ static cl::opt AsmVerbose("asm-verbose", static cl::opt CompileTwice("compile-twice", cl::Hidden, cl::desc("Run everything twice, re-using the same pass " - "manager and verify the the result is the same."), + "manager and verify the result is the same."), cl::init(false)); static int compileModule(char **, LLVMContext &); -- 2.34.1