[llvm-commits] [llvm] r95781 - in /llvm/trunk: include/llvm/ include/llvm/Analysis/ include/llvm/Bitcode/ include/llvm/CodeGen/ include/llvm/MC/ include/llvm/Support/ include/llvm/System/ include/llvm/Target/ lib/Analysis/ lib/Analysis/IPA/ lib/C

Jeffrey Yasskin jyasskin at gmail.com
Wed Feb 10 09:11:59 PST 2010


Some of these "the the"s were supposed to be "to the"s instead of
"the"s. Can we teach clang to tell the difference? ;)

On Wed, Feb 10, 2010 at 9:08 AM, Daniel Dunbar <daniel at zuster.org> wrote:
> Maybe we need -Wcomment-grammar in clang?
>
>  - Daniel
>
> On Wed, Feb 10, 2010 at 8:03 AM, Dan Gohman <gohman at apple.com> wrote:
>> Author: djg
>> Date: Wed Feb 10 10:03:48 2010
>> New Revision: 95781
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=95781&view=rev
>> Log:
>> Fix "the the" and similar typos.
>>
>> Modified:
>>    llvm/trunk/include/llvm/Analysis/MemoryBuiltins.h
>>    llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h
>>    llvm/trunk/include/llvm/CodeGen/JITCodeEmitter.h
>>    llvm/trunk/include/llvm/CodeGen/LiveInterval.h
>>    llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h
>>    llvm/trunk/include/llvm/CodeGen/MachineConstantPool.h
>>    llvm/trunk/include/llvm/CodeGen/MachineFunction.h
>>    llvm/trunk/include/llvm/CodeGen/MachineInstr.h
>>    llvm/trunk/include/llvm/CodeGen/ObjectCodeEmitter.h
>>    llvm/trunk/include/llvm/GlobalValue.h
>>    llvm/trunk/include/llvm/InlineAsm.h
>>    llvm/trunk/include/llvm/Instruction.h
>>    llvm/trunk/include/llvm/Linker.h
>>    llvm/trunk/include/llvm/MC/MCSymbol.h
>>    llvm/trunk/include/llvm/PassManagers.h
>>    llvm/trunk/include/llvm/Support/IRBuilder.h
>>    llvm/trunk/include/llvm/System/DynamicLibrary.h
>>    llvm/trunk/include/llvm/System/Path.h
>>    llvm/trunk/include/llvm/Target/Target.td
>>    llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
>>    llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp
>>    llvm/trunk/lib/Analysis/LiveValues.cpp
>>    llvm/trunk/lib/Analysis/MemoryBuiltins.cpp
>>    llvm/trunk/lib/Analysis/ScalarEvolution.cpp
>>    llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
>>    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>>    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
>>    llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
>>    llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp
>>    llvm/trunk/lib/CodeGen/ExactHazardRecognizer.cpp
>>    llvm/trunk/lib/CodeGen/MachineFunction.cpp
>>    llvm/trunk/lib/CodeGen/MachineInstr.cpp
>>    llvm/trunk/lib/CodeGen/PBQP/HeuristicSolver.h
>>    llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
>>    llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
>>    llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
>>    llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
>>    llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
>>    llvm/trunk/lib/CodeGen/SlotIndexes.cpp
>>    llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
>>    llvm/trunk/lib/CodeGen/VirtRegMap.cpp
>>    llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp
>>    llvm/trunk/lib/Support/APInt.cpp
>>    llvm/trunk/lib/Target/CBackend/CBackend.cpp
>>    llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp
>>    llvm/trunk/lib/Target/PowerPC/PPCHazardRecognizers.cpp
>>    llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
>>    llvm/trunk/lib/Target/SubtargetFeature.cpp
>>    llvm/trunk/lib/Target/X86/README-SSE.txt
>>    llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
>>    llvm/trunk/lib/Target/X86/X86InstrInfo.td
>>    llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td
>>    llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp
>>    llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp
>>    llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
>>    llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
>>    llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp
>>    llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
>>    llvm/trunk/lib/VMCore/IRBuilder.cpp
>>
>> Modified: llvm/trunk/include/llvm/Analysis/MemoryBuiltins.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/MemoryBuiltins.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Analysis/MemoryBuiltins.h (original)
>> +++ llvm/trunk/include/llvm/Analysis/MemoryBuiltins.h Wed Feb 10 10:03:48 2010
>> @@ -72,7 +72,7 @@
>>  //  free Call Utility Functions.
>>  //
>>
>> -/// isFreeCall - Returns true if the the value is a call to the builtin free()
>> +/// isFreeCall - Returns true if the value is a call to the builtin free()
>>  bool isFreeCall(const Value *I);
>>
>>  } // End llvm namespace
>>
>> Modified: llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h (original)
>> +++ llvm/trunk/include/llvm/Bitcode/BitstreamWriter.h Wed Feb 10 10:03:48 2010
>> @@ -291,7 +291,7 @@
>>   /// EmitRecordWithAbbrevImpl - This is the core implementation of the record
>>   /// emission code.  If BlobData is non-null, then it specifies an array of
>>   /// data that should be emitted as part of the Blob or Array operand that is
>> -  /// known to exist at the end of the the record.
>> +  /// known to exist at the end of the record.
>>   template<typename uintty>
>>   void EmitRecordWithAbbrevImpl(unsigned Abbrev, SmallVectorImpl<uintty> &Vals,
>>                                 StringRef Blob) {
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/JITCodeEmitter.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/JITCodeEmitter.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/JITCodeEmitter.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/JITCodeEmitter.h Wed Feb 10 10:03:48 2010
>> @@ -146,7 +146,7 @@
>>     }
>>   }
>>
>> -  /// emitAlignment - Move the CurBufferPtr pointer up the the specified
>> +  /// emitAlignment - Move the CurBufferPtr pointer up the specified
>>   /// alignment (saturated to BufferEnd of course).
>>   void emitAlignment(unsigned Alignment) {
>>     if (Alignment == 0) Alignment = 1;
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/LiveInterval.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/LiveInterval.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/LiveInterval.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/LiveInterval.h Wed Feb 10 10:03:48 2010
>> @@ -320,7 +320,7 @@
>>     /// advanceTo - Advance the specified iterator to point to the LiveRange
>>     /// containing the specified position, or end() if the position is past the
>>     /// end of the interval.  If no LiveRange contains this position, but the
>> -    /// position is in a hole, this method returns an iterator pointing the the
>> +    /// position is in a hole, this method returns an iterator pointing the
>>     /// LiveRange immediately after the hole.
>>     iterator advanceTo(iterator I, SlotIndex Pos) {
>>       if (Pos >= endIndex())
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/MachineCodeEmitter.h Wed Feb 10 10:03:48 2010
>> @@ -155,7 +155,7 @@
>>     }
>>   }
>>
>> -  /// emitAlignment - Move the CurBufferPtr pointer up the the specified
>> +  /// emitAlignment - Move the CurBufferPtr pointer up the specified
>>   /// alignment (saturated to BufferEnd of course).
>>   void emitAlignment(unsigned Alignment) {
>>     if (Alignment == 0) Alignment = 1;
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/MachineConstantPool.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineConstantPool.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/MachineConstantPool.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/MachineConstantPool.h Wed Feb 10 10:03:48 2010
>> @@ -136,7 +136,7 @@
>>     : TD(td), PoolAlignment(1) {}
>>   ~MachineConstantPool();
>>
>> -  /// getConstantPoolAlignment - Return the the alignment required by
>> +  /// getConstantPoolAlignment - Return the alignment required by
>>   /// the whole constant pool, of which the first element must be aligned.
>>   unsigned getConstantPoolAlignment() const { return PoolAlignment; }
>>
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/MachineFunction.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineFunction.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/MachineFunction.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/MachineFunction.h Wed Feb 10 10:03:48 2010
>> @@ -330,7 +330,7 @@
>>                                    bool NoImp = false);
>>
>>   /// CloneMachineInstr - Create a new MachineInstr which is a copy of the
>> -  /// 'Orig' instruction, identical in all ways except the the instruction
>> +  /// 'Orig' instruction, identical in all ways except the instruction
>>   /// has no parent, prev, or next.
>>   ///
>>   /// See also TargetInstrInfo::duplicate() for target-specific fixes to cloned
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/MachineInstr.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/MachineInstr.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/MachineInstr.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/MachineInstr.h Wed Feb 10 10:03:48 2010
>> @@ -347,7 +347,7 @@
>>
>>   /// isInvariantLoad - Return true if this instruction is loading from a
>>   /// location whose value is invariant across the function.  For example,
>> -  /// loading a value from the constant pool or from from the argument area of
>> +  /// loading a value from the constant pool or from the argument area of
>>   /// a function if it does not change.  This should only return true of *all*
>>   /// loads the instruction does are invariant (if it does multiple loads).
>>   bool isInvariantLoad(AliasAnalysis *AA) const;
>>
>> Modified: llvm/trunk/include/llvm/CodeGen/ObjectCodeEmitter.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/ObjectCodeEmitter.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/CodeGen/ObjectCodeEmitter.h (original)
>> +++ llvm/trunk/include/llvm/CodeGen/ObjectCodeEmitter.h Wed Feb 10 10:03:48 2010
>> @@ -81,7 +81,7 @@
>>   /// written to the data stream in big-endian format.
>>   void emitDWordBE(uint64_t W);
>>
>> -  /// emitAlignment - Move the CurBufferPtr pointer up the the specified
>> +  /// emitAlignment - Move the CurBufferPtr pointer up the specified
>>   /// alignment (saturated to BufferEnd of course).
>>   void emitAlignment(unsigned Alignment = 0, uint8_t fill = 0);
>>
>>
>> Modified: llvm/trunk/include/llvm/GlobalValue.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/GlobalValue.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/GlobalValue.h (original)
>> +++ llvm/trunk/include/llvm/GlobalValue.h Wed Feb 10 10:03:48 2010
>> @@ -92,7 +92,7 @@
>>   void setSection(StringRef S) { Section = S; }
>>
>>   /// If the usage is empty (except transitively dead constants), then this
>> -  /// global value can can be safely deleted since the destructor will
>> +  /// global value can be safely deleted since the destructor will
>>   /// delete the dead constants as well.
>>   /// @brief Determine if the usage of this global value is empty except
>>   /// for transitively dead constants.
>>
>> Modified: llvm/trunk/include/llvm/InlineAsm.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/InlineAsm.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/InlineAsm.h (original)
>> +++ llvm/trunk/include/llvm/InlineAsm.h Wed Feb 10 10:03:48 2010
>> @@ -39,7 +39,7 @@
>>   virtual ~InlineAsm();
>>  public:
>>
>> -  /// InlineAsm::get - Return the the specified uniqued inline asm string.
>> +  /// InlineAsm::get - Return the specified uniqued inline asm string.
>>   ///
>>   static InlineAsm *get(const FunctionType *Ty, StringRef AsmString,
>>                         StringRef Constraints, bool hasSideEffects,
>>
>> Modified: llvm/trunk/include/llvm/Instruction.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Instruction.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Instruction.h (original)
>> +++ llvm/trunk/include/llvm/Instruction.h Wed Feb 10 10:03:48 2010
>> @@ -148,7 +148,7 @@
>>       getAllMetadataImpl(MDs);
>>   }
>>
>> -  /// setMetadata - Set the metadata of of the specified kind to the specified
>> +  /// setMetadata - Set the metadata of the specified kind to the specified
>>   /// node.  This updates/replaces metadata if already present, or removes it if
>>   /// Node is null.
>>   void setMetadata(unsigned KindID, MDNode *Node);
>>
>> Modified: llvm/trunk/include/llvm/Linker.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Linker.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Linker.h (original)
>> +++ llvm/trunk/include/llvm/Linker.h Wed Feb 10 10:03:48 2010
>> @@ -223,7 +223,7 @@
>>     /// the archive that resolve outstanding symbols will be linked in. The
>>     /// library is searched repeatedly until no more modules that resolve
>>     /// symbols can be found. If an error occurs, the error string is  set.
>> -    /// To speed up this function, ensure the the archive has been processed
>> +    /// To speed up this function, ensure the archive has been processed
>>     /// llvm-ranlib or the S option was given to llvm-ar when the archive was
>>     /// created. These tools add a symbol table to the archive which makes the
>>     /// search for undefined symbols much faster.
>>
>> Modified: llvm/trunk/include/llvm/MC/MCSymbol.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCSymbol.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/MC/MCSymbol.h (original)
>> +++ llvm/trunk/include/llvm/MC/MCSymbol.h Wed Feb 10 10:03:48 2010
>> @@ -89,7 +89,7 @@
>>       return !isDefined();
>>     }
>>
>> -    /// isAbsolute - Check if this this is an absolute symbol.
>> +    /// isAbsolute - Check if this is an absolute symbol.
>>     bool isAbsolute() const {
>>       return Section == AbsolutePseudoSection;
>>     }
>>
>> Modified: llvm/trunk/include/llvm/PassManagers.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/PassManagers.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/PassManagers.h (original)
>> +++ llvm/trunk/include/llvm/PassManagers.h Wed Feb 10 10:03:48 2010
>> @@ -394,8 +394,8 @@
>>                          const AnalysisUsage::VectorType &Set) const;
>>
>>   // Set of available Analysis. This information is used while scheduling
>> -  // pass. If a pass requires an analysis which is not not available then
>> -  // equired analysis pass is scheduled to run before the pass itself is
>> +  // pass. If a pass requires an analysis which is not available then
>> +  // the required analysis pass is scheduled to run before the pass itself is
>>   // scheduled to run.
>>   std::map<AnalysisID, Pass*> AvailableAnalysis;
>>
>>
>> Modified: llvm/trunk/include/llvm/Support/IRBuilder.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/IRBuilder.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Support/IRBuilder.h (original)
>> +++ llvm/trunk/include/llvm/Support/IRBuilder.h Wed Feb 10 10:03:48 2010
>> @@ -94,7 +94,7 @@
>>   //===--------------------------------------------------------------------===//
>>
>>   /// CreateGlobalString - Make a new global variable with an initializer that
>> -  /// has array of i8 type filled in the the nul terminated string value
>> +  /// has array of i8 type filled in the nul terminated string value
>>   /// specified.  If Name is specified, it is the name of the global variable
>>   /// created.
>>   Value *CreateGlobalString(const char *Str = "", const Twine &Name = "");
>>
>> Modified: llvm/trunk/include/llvm/System/DynamicLibrary.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/DynamicLibrary.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/System/DynamicLibrary.h (original)
>> +++ llvm/trunk/include/llvm/System/DynamicLibrary.h Wed Feb 10 10:03:48 2010
>> @@ -23,7 +23,7 @@
>>   /// might be known as shared libraries, shared objects, dynamic shared
>>   /// objects, or dynamic link libraries. Regardless of the terminology or the
>>   /// operating system interface, this class provides a portable interface that
>> -  /// allows dynamic libraries to be loaded and and searched for externally
>> +  /// allows dynamic libraries to be loaded and searched for externally
>>   /// defined symbols. This is typically used to provide "plug-in" support.
>>   /// It also allows for symbols to be defined which don't live in any library,
>>   /// but rather the main program itself, useful on Windows where the main
>>
>> Modified: llvm/trunk/include/llvm/System/Path.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/System/Path.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/System/Path.h (original)
>> +++ llvm/trunk/include/llvm/System/Path.h Wed Feb 10 10:03:48 2010
>> @@ -28,7 +28,7 @@
>>   /// platform independent and eliminates many of the unix-specific fields.
>>   /// However, to support llvm-ar, the mode, user, and group fields are
>>   /// retained. These pertain to unix security and may not have a meaningful
>> -  /// value on non-Unix platforms. However, the other fields fields should
>> +  /// value on non-Unix platforms. However, the other fields should
>>   /// always be applicable on all platforms.  The structure is filled in by
>>   /// the PathWithStatus class.
>>   /// @brief File status structure
>>
>> Modified: llvm/trunk/include/llvm/Target/Target.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/Target.td?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Target/Target.td (original)
>> +++ llvm/trunk/include/llvm/Target/Target.td Wed Feb 10 10:03:48 2010
>> @@ -376,7 +376,7 @@
>>
>>
>>  // InstrInfo - This class should only be instantiated once to provide parameters
>> -// which are global to the the target machine.
>> +// which are global to the target machine.
>>  //
>>  class InstrInfo {
>>   // If the target wants to associate some target-specific information with each
>>
>> Modified: llvm/trunk/include/llvm/Target/TargetRegisterInfo.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetRegisterInfo.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/include/llvm/Target/TargetRegisterInfo.h (original)
>> +++ llvm/trunk/include/llvm/Target/TargetRegisterInfo.h Wed Feb 10 10:03:48 2010
>> @@ -169,7 +169,7 @@
>>     return I;
>>   }
>>
>> -  /// hasSubClass - return true if the the specified TargetRegisterClass
>> +  /// hasSubClass - return true if the specified TargetRegisterClass
>>   /// is a proper subset of this TargetRegisterClass.
>>   bool hasSubClass(const TargetRegisterClass *cs) const {
>>     for (int i = 0; SubClasses[i] != NULL; ++i)
>>
>> Modified: llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp (original)
>> +++ llvm/trunk/lib/Analysis/IPA/GlobalsModRef.cpp Wed Feb 10 10:03:48 2010
>> @@ -486,7 +486,7 @@
>>     if (GV1 && !NonAddressTakenGlobals.count(GV1)) GV1 = 0;
>>     if (GV2 && !NonAddressTakenGlobals.count(GV2)) GV2 = 0;
>>
>> -    // If the the two pointers are derived from two different non-addr-taken
>> +    // If the two pointers are derived from two different non-addr-taken
>>     // globals, or if one is and the other isn't, we know these can't alias.
>>     if ((GV1 || GV2) && GV1 != GV2)
>>       return NoAlias;
>>
>> Modified: llvm/trunk/lib/Analysis/LiveValues.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LiveValues.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Analysis/LiveValues.cpp (original)
>> +++ llvm/trunk/lib/Analysis/LiveValues.cpp Wed Feb 10 10:03:48 2010
>> @@ -184,7 +184,7 @@
>>     }
>>   }
>>
>> -  // If the value was never used outside the the block in which it was
>> +  // If the value was never used outside the block in which it was
>>   // defined, it's killed in that block.
>>   if (!LiveOutOfDefBB)
>>     M.Killed.insert(DefBB);
>>
>> Modified: llvm/trunk/lib/Analysis/MemoryBuiltins.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/MemoryBuiltins.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Analysis/MemoryBuiltins.cpp (original)
>> +++ llvm/trunk/lib/Analysis/MemoryBuiltins.cpp Wed Feb 10 10:03:48 2010
>> @@ -24,7 +24,7 @@
>>  //  malloc Call Utility Functions.
>>  //
>>
>> -/// isMalloc - Returns true if the the value is either a malloc call or a
>> +/// isMalloc - Returns true if the value is either a malloc call or a
>>  /// bitcast of the result of a malloc call.
>>  bool llvm::isMalloc(const Value *I) {
>>   return extractMallocCall(I) || extractMallocCallFromBitCast(I);
>> @@ -183,7 +183,7 @@
>>  //  free Call Utility Functions.
>>  //
>>
>> -/// isFreeCall - Returns true if the the value is a call to the builtin free()
>> +/// isFreeCall - Returns true if the value is a call to the builtin free()
>>  bool llvm::isFreeCall(const Value *I) {
>>   const CallInst *CI = dyn_cast<CallInst>(I);
>>   if (!CI)
>>
>> Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
>> +++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Wed Feb 10 10:03:48 2010
>> @@ -5032,7 +5032,7 @@
>>     if (Step->isOne()) {
>>       // With unit stride, the iteration never steps past the limit value.
>>     } else if (isKnownPositive(Step)) {
>> -      // Test whether a positive iteration iteration can step past the limit
>> +      // Test whether a positive iteration can step past the limit
>>       // value and past the maximum value for its type in a single step.
>>       // Note that it's not sufficient to check NoWrap here, because even
>>       // though the value after a wrap is undefined, it's not undefined
>>
>> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/AsmPrinter/AsmPrinter.cpp Wed Feb 10 10:03:48 2010
>> @@ -302,7 +302,7 @@
>>     OutStreamer.GetCommentOS() << '\n';
>>   }
>>
>> -  // Emit the CurrentFnSym.  This is is a virtual function to allow targets to
>> +  // Emit the CurrentFnSym.  This is a virtual function to allow targets to
>>   // do their wild and crazy things as required.
>>   EmitFunctionEntryLabel();
>>
>>
>> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Feb 10 10:03:48 2010
>> @@ -618,7 +618,7 @@
>>
>>    1).  Add the offset of the forwarding field.
>>
>> -   2).  Follow that pointer to get the the real __Block_byref_x_VarName
>> +   2).  Follow that pointer to get the real __Block_byref_x_VarName
>>    struct to use (the real one may have been copied onto the heap).
>>
>>    3).  Add the offset for the field VarName, to find the actual variable.
>>
>> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
>> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Feb 10 10:03:48 2010
>> @@ -103,7 +103,7 @@
>>   ///
>>   SmallVector<std::pair<unsigned, unsigned>, 8> SourceIds;
>>
>> -  /// Lines - List of of source line correspondence.
>> +  /// Lines - List of source line correspondence.
>>   std::vector<SrcLineInfo> Lines;
>>
>>   /// DIEValues - A list of all the unique values in use.
>>
>> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h (original)
>> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfException.h Wed Feb 10 10:03:48 2010
>> @@ -103,7 +103,7 @@
>>   ///     exception.  If it matches then the exception and type id are passed
>>   ///     on to the landing pad.  Otherwise the next action is looked up.  This
>>   ///     chain is terminated with a next action of zero.  If no type id is
>> -  ///     found the the frame is unwound and handling continues.
>> +  ///     found the frame is unwound and handling continues.
>>   ///  3. Type id table contains references to all the C++ typeinfo for all
>>   ///     catches in the function.  This tables is reversed indexed base 1.
>>
>>
>> Modified: llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/CodePlacementOpt.cpp Wed Feb 10 10:03:48 2010
>> @@ -115,7 +115,7 @@
>>   // Ask the target's AnalyzeBranch if it can handle this block.
>>   MachineBasicBlock *TBB = 0, *FBB = 0;
>>   SmallVector<MachineOperand, 4> Cond;
>> -  // Make the the terminator is understood.
>> +  // Make the terminator is understood.
>>   if (TII->AnalyzeBranch(*MBB, TBB, FBB, Cond))
>>     return false;
>>   // Make sure we have the option of reversing the condition.
>>
>> Modified: llvm/trunk/lib/CodeGen/ExactHazardRecognizer.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/ExactHazardRecognizer.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/ExactHazardRecognizer.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/ExactHazardRecognizer.cpp Wed Feb 10 10:03:48 2010
>> @@ -7,7 +7,7 @@
>>  //
>>  //===----------------------------------------------------------------------===//
>>  //
>> -// This implements a a hazard recognizer using the instructions itineraries
>> +// This implements a hazard recognizer using the instructions itineraries
>>  // defined for the current target.
>>  //
>>  //===----------------------------------------------------------------------===//
>>
>> Modified: llvm/trunk/lib/CodeGen/MachineFunction.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineFunction.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/MachineFunction.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/MachineFunction.cpp Wed Feb 10 10:03:48 2010
>> @@ -187,7 +187,7 @@
>>  }
>>
>>  /// CloneMachineInstr - Create a new MachineInstr which is a copy of the
>> -/// 'Orig' instruction, identical in all ways except the the instruction
>> +/// 'Orig' instruction, identical in all ways except the instruction
>>  /// has no parent, prev, or next.
>>  ///
>>  MachineInstr *
>>
>> Modified: llvm/trunk/lib/CodeGen/MachineInstr.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/MachineInstr.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/MachineInstr.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/MachineInstr.cpp Wed Feb 10 10:03:48 2010
>> @@ -1034,7 +1034,7 @@
>>
>>  /// isInvariantLoad - Return true if this instruction is loading from a
>>  /// location whose value is invariant across the function.  For example,
>> -/// loading a value from the constant pool or from from the argument area
>> +/// loading a value from the constant pool or from the argument area
>>  /// of a function if it does not change.  This should only return true of
>>  /// *all* loads the instruction does are invariant (if it does multiple loads).
>>  bool MachineInstr::isInvariantLoad(AliasAnalysis *AA) const {
>>
>> Modified: llvm/trunk/lib/CodeGen/PBQP/HeuristicSolver.h
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/PBQP/HeuristicSolver.h?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/PBQP/HeuristicSolver.h (original)
>> +++ llvm/trunk/lib/CodeGen/PBQP/HeuristicSolver.h Wed Feb 10 10:03:48 2010
>> @@ -9,7 +9,7 @@
>>  //
>>  // Heuristic PBQP solver. This solver is able to perform optimal reductions for
>>  // nodes of degree 0, 1 or 2. For nodes of degree >2 a plugable heuristic is
>> -// used to to select a node for reduction.
>> +// used to select a node for reduction.
>>  //
>>  //===----------------------------------------------------------------------===//
>>
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/DAGCombiner.cpp Wed Feb 10 10:03:48 2010
>> @@ -2640,7 +2640,7 @@
>>
>>       // If the shift is not a no-op (in which case this should be just a sign
>>       // extend already), the truncated to type is legal, sign_extend is legal
>> -      // on that type, and the the truncate to that type is both legal and free,
>> +      // on that type, and the truncate to that type is both legal and free,
>>       // perform the transform.
>>       if ((ShiftAmt > 0) &&
>>           TLI.isOperationLegalOrCustom(ISD::SIGN_EXTEND, TruncVT) &&
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Wed Feb 10 10:03:48 2010
>> @@ -2767,7 +2767,7 @@
>>                             DAG.getIntPtrConstant(1));
>>     } else {
>>       // FIXME: We should be able to fall back to a libcall with an illegal
>> -      // type in some cases cases.
>> +      // type in some cases.
>>       // Also, we can fall back to a division in some cases, but that's a big
>>       // performance hit in the general case.
>>       llvm_unreachable("Don't know how to expand this operation yet!");
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp Wed Feb 10 10:03:48 2010
>> @@ -1349,7 +1349,7 @@
>>                             DAG.getConstant(JTH.First, VT));
>>
>>   // The SDNode we just created, which holds the value being switched on minus
>> -  // the the smallest case value, needs to be copied to a virtual register so it
>> +  // the smallest case value, needs to be copied to a virtual register so it
>>   // can be used as an index into the jump table in a subsequent basic block.
>>   // This value may be smaller or larger than the target's pointer type, and
>>   // therefore require extension or truncating.
>> @@ -4865,7 +4865,7 @@
>>     EVT ThisVT = MVT::Other;
>>
>>     const TargetRegisterClass *RC = *RCI;
>> -    // If none of the the value types for this register class are valid, we
>> +    // If none of the value types for this register class are valid, we
>>     // can't use it.  For example, 64-bit reg classes on 32-bit targets.
>>     for (TargetRegisterClass::vt_iterator I = RC->vt_begin(), E = RC->vt_end();
>>          I != E; ++I) {
>>
>> Modified: llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SelectionDAG/TargetLowering.cpp Wed Feb 10 10:03:48 2010
>> @@ -2366,7 +2366,7 @@
>>        E = RI->regclass_end(); RCI != E; ++RCI) {
>>     const TargetRegisterClass *RC = *RCI;
>>
>> -    // If none of the the value types for this register class are valid, we
>> +    // If none of the value types for this register class are valid, we
>>     // can't use it.  For example, 64-bit reg classes on 32-bit targets.
>>     bool isLegal = false;
>>     for (TargetRegisterClass::vt_iterator I = RC->vt_begin(), E = RC->vt_end();
>>
>> Modified: llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SimpleRegisterCoalescing.cpp Wed Feb 10 10:03:48 2010
>> @@ -197,7 +197,7 @@
>>
>>   SlotIndex FillerStart = ValLR->end, FillerEnd = BLR->start;
>>   // We are about to delete CopyMI, so need to remove it as the 'instruction
>> -  // that defines this value #'. Update the the valnum with the new defining
>> +  // that defines this value #'. Update the valnum with the new defining
>>   // instruction #.
>>   BValNo->def  = FillerStart;
>>   BValNo->setCopy(0);
>>
>> Modified: llvm/trunk/lib/CodeGen/SlotIndexes.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/SlotIndexes.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/SlotIndexes.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/SlotIndexes.cpp Wed Feb 10 10:03:48 2010
>> @@ -95,7 +95,7 @@
>>
>>   push_back(createEntry(0, index));
>>
>> -  // Iterate over the the function.
>> +  // Iterate over the function.
>>   for (MachineFunction::iterator mbbItr = mf->begin(), mbbEnd = mf->end();
>>        mbbItr != mbbEnd; ++mbbItr) {
>>     MachineBasicBlock *mbb = &*mbbItr;
>>
>> Modified: llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/StrongPHIElimination.cpp Wed Feb 10 10:03:48 2010
>> @@ -49,7 +49,7 @@
>>     std::map<unsigned, std::vector<unsigned> > Stacks;
>>
>>     // Registers in UsedByAnother are PHI nodes that are themselves
>> -    // used as operands to another another PHI node
>> +    // used as operands to another PHI node
>>     std::set<unsigned> UsedByAnother;
>>
>>     // RenameSets are the is a map from a PHI-defined register
>>
>> Modified: llvm/trunk/lib/CodeGen/VirtRegMap.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/VirtRegMap.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/CodeGen/VirtRegMap.cpp (original)
>> +++ llvm/trunk/lib/CodeGen/VirtRegMap.cpp Wed Feb 10 10:03:48 2010
>> @@ -9,7 +9,7 @@
>>  //
>>  // This file implements the VirtRegMap class.
>>  //
>> -// It also contains implementations of the the Spiller interface, which, given a
>> +// It also contains implementations of the Spiller interface, which, given a
>>  // virtual register map and a machine function, eliminates all virtual
>>  // references by replacing them with physical register references - adding spill
>>  // code as necessary.
>>
>> Modified: llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp (original)
>> +++ llvm/trunk/lib/ExecutionEngine/JIT/JIT.cpp Wed Feb 10 10:03:48 2010
>> @@ -171,7 +171,7 @@
>>   ob->encoding.i = 0;
>>   ob->encoding.b.encoding = llvm::dwarf::DW_EH_PE_omit;
>>
>> -  // Put the info on both places, as libgcc uses the first or the the second
>> +  // Put the info on both places, as libgcc uses the first or the second
>>   // field. Note that we rely on having two pointers here. If fde_end was a
>>   // char, things would get complicated.
>>   ob->fde_end = (char*)LOI->unseenObjects;
>>
>> Modified: llvm/trunk/lib/Support/APInt.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APInt.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Support/APInt.cpp (original)
>> +++ llvm/trunk/lib/Support/APInt.cpp Wed Feb 10 10:03:48 2010
>> @@ -273,7 +273,7 @@
>>   return clearUnusedBits();
>>  }
>>
>> -/// Multiplies an integer array, x by a a uint64_t integer and places the result
>> +/// Multiplies an integer array, x, by a uint64_t integer and places the result
>>  /// into dest.
>>  /// @returns the carry out of the multiplication.
>>  /// @brief Multiply a multi-digit APInt by a single digit (64-bit) integer.
>> @@ -1766,7 +1766,7 @@
>>
>>   // First, compose the values into an array of 32-bit words instead of
>>   // 64-bit words. This is a necessity of both the "short division" algorithm
>> -  // and the the Knuth "classical algorithm" which requires there to be native
>> +  // and the Knuth "classical algorithm" which requires there to be native
>>   // operations for +, -, and * on an m bit value with an m*2 bit result. We
>>   // can't use 64-bit operands here because we don't have native results of
>>   // 128-bits. Furthermore, casting the 64-bit values to 32-bit values won't
>>
>> Modified: llvm/trunk/lib/Target/CBackend/CBackend.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/CBackend/CBackend.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/CBackend/CBackend.cpp (original)
>> +++ llvm/trunk/lib/Target/CBackend/CBackend.cpp Wed Feb 10 10:03:48 2010
>> @@ -1841,7 +1841,7 @@
>>       return GlobalDtors;
>>   }
>>
>> -  // Otherwise, it it is other metadata, don't print it.  This catches things
>> +  // Otherwise, if it is other metadata, don't print it.  This catches things
>>   // like debug information.
>>   if (GV->getSection() == "llvm.metadata")
>>     return NotPrinted;
>> @@ -3113,7 +3113,7 @@
>>  }
>>
>>  /// visitBuiltinCall - Handle the call to the specified builtin.  Returns true
>> -/// if the entire call is handled, return false it it wasn't handled, and
>> +/// if the entire call is handled, return false if it wasn't handled, and
>>  /// optionally set 'WroteCallee' if the callee has already been printed out.
>>  bool CWriter::visitBuiltinCall(CallInst &I, Intrinsic::ID ID,
>>                                bool &WroteCallee) {
>>
>> Modified: llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp (original)
>> +++ llvm/trunk/lib/Target/PIC16/PIC16DebugInfo.cpp Wed Feb 10 10:03:48 2010
>> @@ -68,7 +68,7 @@
>>       TypeNo = TypeNo << PIC16Dbg::S_DERIVED;
>>   }
>>
>> -  // We also need to encode the the information about the base type of
>> +  // We also need to encode the information about the base type of
>>   // pointer in TypeNo.
>>   DIType BaseType = DIDerivedType(Ty.getNode()).getTypeDerivedFrom();
>>   PopulateDebugInfo(BaseType, TypeNo, HasAux, Aux, TagName);
>>
>> Modified: llvm/trunk/lib/Target/PowerPC/PPCHazardRecognizers.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCHazardRecognizers.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/PowerPC/PPCHazardRecognizers.cpp (original)
>> +++ llvm/trunk/lib/Target/PowerPC/PPCHazardRecognizers.cpp Wed Feb 10 10:03:48 2010
>> @@ -118,7 +118,7 @@
>>  }
>>
>>  /// getHazardType - We return hazard for any non-branch instruction that would
>> -/// terminate terminate the dispatch group.  We turn NoopHazard for any
>> +/// terminate the dispatch group.  We turn NoopHazard for any
>>  /// instructions that wouldn't terminate the dispatch group that would cause a
>>  /// pipeline flush.
>>  ScheduleHazardRecognizer::HazardType PPCHazardRecognizer970::
>>
>> Modified: llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp (original)
>> +++ llvm/trunk/lib/Target/PowerPC/PPCISelDAGToDAG.cpp Wed Feb 10 10:03:48 2010
>> @@ -199,7 +199,7 @@
>>   // Check to see if this function uses vector registers, which means we have to
>>   // save and restore the VRSAVE register and update it with the regs we use.
>>   //
>> -  // In this case, there will be virtual registers of vector type type created
>> +  // In this case, there will be virtual registers of vector type created
>>   // by the scheduler.  Detect them now.
>>   bool HasVectorVReg = false;
>>   for (unsigned i = TargetRegisterInfo::FirstVirtualRegister,
>>
>> Modified: llvm/trunk/lib/Target/SubtargetFeature.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SubtargetFeature.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/SubtargetFeature.cpp (original)
>> +++ llvm/trunk/lib/Target/SubtargetFeature.cpp Wed Feb 10 10:03:48 2010
>> @@ -67,7 +67,7 @@
>>   while (true) {
>>     // Find the next comma
>>     size_t Comma = S.find(',', Pos);
>> -    // If no comma found then the the rest of the string is used
>> +    // If no comma found then the rest of the string is used
>>     if (Comma == std::string::npos) {
>>       // Add string to vector
>>       V.push_back(S.substr(Pos));
>>
>> Modified: llvm/trunk/lib/Target/X86/README-SSE.txt
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/README-SSE.txt?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/X86/README-SSE.txt (original)
>> +++ llvm/trunk/lib/Target/X86/README-SSE.txt Wed Feb 10 10:03:48 2010
>> @@ -376,7 +376,7 @@
>>  ... saving two instructions.
>>
>>  The basic idea is that a reload from a spill slot, can, if only one 4-byte
>> -chunk is used, bring in 3 zeros the the one element instead of 4 elements.
>> +chunk is used, bring in 3 zeros the one element instead of 4 elements.
>>  This can be used to simplify a variety of shuffle operations, where the
>>  elements are fixed zeros.
>>
>>
>> Modified: llvm/trunk/lib/Target/X86/X86ISelLowering.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86ISelLowering.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp (original)
>> +++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp Wed Feb 10 10:03:48 2010
>> @@ -2172,7 +2172,7 @@
>>   if (IsCalleePop(isVarArg, CallConv))
>>     NumBytesForCalleeToPush = NumBytes;    // Callee pops everything
>>   else if (!Is64Bit && CallConv != CallingConv::Fast && IsStructRet)
>> -    // If this is is a call to a struct-return function, the callee
>> +    // If this is a call to a struct-return function, the callee
>>     // pops the hidden struct pointer, so we have to push it back.
>>     // This is common for Darwin/X86, Linux & Mingw32 targets.
>>     NumBytesForCalleeToPush = 4;
>>
>> Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrInfo.td?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/X86/X86InstrInfo.td (original)
>> +++ llvm/trunk/lib/Target/X86/X86InstrInfo.td Wed Feb 10 10:03:48 2010
>> @@ -3704,7 +3704,7 @@
>>                    "movz{wl|x}\t{$src, $dst|$dst, $src}",
>>                    [(set GR32:$dst, (zextloadi32i16 addr:$src))]>, TB;
>>
>> -// These are the same as the regular regular MOVZX32rr8 and MOVZX32rm8
>> +// These are the same as the regular MOVZX32rr8 and MOVZX32rm8
>>  // except that they use GR32_NOREX for the output operand register class
>>  // instead of GR32. This allows them to operate on h registers on x86-64.
>>  def MOVZX32_NOREXrr8 : I<0xB6, MRMSrcReg,
>>
>> Modified: llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td (original)
>> +++ llvm/trunk/lib/Target/XCore/XCoreInstrInfo.td Wed Feb 10 10:03:48 2010
>> @@ -686,7 +686,7 @@
>>                           [(set R11, (pcrelwrapper tblockaddress:$addr))]>;
>>
>>  let isCall=1,
>> -// All calls clobber the the link register and the non-callee-saved registers:
>> +// All calls clobber the link register and the non-callee-saved registers:
>>  Defs = [R0, R1, R2, R3, R11, LR] in {
>>  def BL_u10 : _FU10<
>>                   (outs),
>> @@ -779,7 +779,7 @@
>>                  []>;
>>
>>  let isCall=1,
>> -// All calls clobber the the link register and the non-callee-saved registers:
>> +// All calls clobber the link register and the non-callee-saved registers:
>>  Defs = [R0, R1, R2, R3, R11, LR] in {
>>  def BLA_1r : _F1R<(outs), (ins GRRegs:$addr, variable_ops),
>>                  "bla $addr",
>>
>> Modified: llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp (original)
>> +++ llvm/trunk/lib/Transforms/IPO/ArgumentPromotion.cpp Wed Feb 10 10:03:48 2010
>> @@ -247,7 +247,7 @@
>>     return Low != Set.end() && IsPrefix(*Low, Indices);
>>  }
>>
>> -/// Mark the given indices (ToMark) as safe in the the given set of indices
>> +/// Mark the given indices (ToMark) as safe in the given set of indices
>>  /// (Safe). Marking safe usually means adding ToMark to Safe. However, if there
>>  /// is already a prefix of Indices in Safe, Indices are implicitely marked safe
>>  /// already. Furthermore, any indices that Indices is itself a prefix of, are
>>
>> Modified: llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp (original)
>> +++ llvm/trunk/lib/Transforms/IPO/PartialInlining.cpp Wed Feb 10 10:03:48 2010
>> @@ -117,7 +117,7 @@
>>   DominatorTree DT;
>>   DT.runOnFunction(*duplicateFunction);
>>
>> -  // Extract the body of the the if.
>> +  // Extract the body of the if.
>>   Function* extractedFunction = ExtractCodeRegion(DT, toExtract);
>>
>>   // Inline the top-level if test into all callers.
>>
>> Modified: llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp (original)
>> +++ llvm/trunk/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp Wed Feb 10 10:03:48 2010
>> @@ -546,7 +546,7 @@
>>     std::swap(LHSCC, RHSCC);
>>   }
>>
>> -  // At this point, we know we have have two icmp instructions
>> +  // At this point, we know we have two icmp instructions
>>   // comparing a value against two constants and and'ing the result
>>   // together.  Because of the above check, we know that we only have
>>   // icmp eq, icmp ne, icmp [su]lt, and icmp [SU]gt here. We also know
>> @@ -1226,7 +1226,7 @@
>>     std::swap(LHSCC, RHSCC);
>>   }
>>
>> -  // At this point, we know we have have two icmp instructions
>> +  // At this point, we know we have two icmp instructions
>>   // comparing a value against two constants and or'ing the result
>>   // together.  Because of the above check, we know that we only have
>>   // ICMP_EQ, ICMP_NE, ICMP_LT, and ICMP_GT here. We also know (from the
>>
>> Modified: llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp (original)
>> +++ llvm/trunk/lib/Transforms/Scalar/IndVarSimplify.cpp Wed Feb 10 10:03:48 2010
>> @@ -380,7 +380,7 @@
>>       NeedCannIV = true;
>>   }
>>
>> -  // Now that we know the largest of of the induction variable expressions
>> +  // Now that we know the largest of the induction variable expressions
>>   // in this loop, insert a canonical induction variable of the largest size.
>>   Value *IndVar = 0;
>>   if (NeedCannIV) {
>>
>> Modified: llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp (original)
>> +++ llvm/trunk/lib/Transforms/Scalar/Reassociate.cpp Wed Feb 10 10:03:48 2010
>> @@ -249,7 +249,7 @@
>>
>>  /// LinearizeExprTree - Given an associative binary expression tree, traverse
>>  /// all of the uses putting it into canonical form.  This forces a left-linear
>> -/// form of the the expression (((a+b)+c)+d), and collects information about the
>> +/// form of the expression (((a+b)+c)+d), and collects information about the
>>  /// rank of the non-tree operands.
>>  ///
>>  /// NOTE: These intentionally destroys the expression tree operands (turning
>> @@ -299,7 +299,7 @@
>>     Success = false;
>>     MadeChange = true;
>>   } else if (RHSBO) {
>> -    // Turn (A+B)+(C+D) -> (((A+B)+C)+D).  This guarantees the the RHS is not
>> +    // Turn (A+B)+(C+D) -> (((A+B)+C)+D).  This guarantees the RHS is not
>>     // part of the expression tree.
>>     LinearizeExpr(I);
>>     LHS = LHSBO = cast<BinaryOperator>(I->getOperand(0));
>>
>> Modified: llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp (original)
>> +++ llvm/trunk/lib/Transforms/Scalar/SimplifyHalfPowrLibCalls.cpp Wed Feb 10 10:03:48 2010
>> @@ -68,7 +68,7 @@
>>     Function *Callee = Call->getCalledFunction();
>>
>>     // Minimally sanity-check the CFG of half_powr to ensure that it contains
>> -    // the the kind of code we expect.  If we're running this pass, we have
>> +    // the kind of code we expect.  If we're running this pass, we have
>>     // reason to believe it will be what we expect.
>>     Function::iterator I = Callee->begin();
>>     BasicBlock *Prologue = I++;
>>
>> Modified: llvm/trunk/lib/VMCore/IRBuilder.cpp
>> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/VMCore/IRBuilder.cpp?rev=95781&r1=95780&r2=95781&view=diff
>>
>> ==============================================================================
>> --- llvm/trunk/lib/VMCore/IRBuilder.cpp (original)
>> +++ llvm/trunk/lib/VMCore/IRBuilder.cpp Wed Feb 10 10:03:48 2010
>> @@ -19,7 +19,7 @@
>>  using namespace llvm;
>>
>>  /// CreateGlobalString - Make a new global variable with an initializer that
>> -/// has array of i8 type filled in the the nul terminated string value
>> +/// has array of i8 type filled in the nul terminated string value
>>  /// specified.  If Name is specified, it is the name of the global variable
>>  /// created.
>>  Value *IRBuilderBase::CreateGlobalString(const char *Str, const Twine &Name) {
>>
>>
>> _______________________________________________
>> llvm-commits mailing list
>> llvm-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>>




More information about the llvm-commits mailing list