]> granicus.if.org Git - llvm/commitdiff
Spelling mistakes in comments. NFCI.
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 31 Mar 2017 10:59:37 +0000 (10:59 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Fri, 31 Mar 2017 10:59:37 +0000 (10:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299197 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp
lib/CodeGen/MachinePipeliner.cpp
unittests/ADT/StringMapTest.cpp
utils/TableGen/AsmMatcherEmitter.cpp

index 58634064d095677ec7cc4c6797715bbc36a55282..c867eb6c44ddd36bb6c75500bfff9e122203be5a 100644 (file)
@@ -4726,7 +4726,7 @@ static ConstantRange getRangeForAffineARHelper(APInt Step,
   if (Step == 0 || MaxBECount == 0)
     return StartRange;
 
-  // If we don't know anything about the inital value (i.e. StartRange is
+  // If we don't know anything about the initial value (i.e. StartRange is
   // FullRange), then we don't know anything about the final range either.
   // Return FullRange.
   if (StartRange.isFullSet())
index 77ba5627023fff7f6332f2dd156b377815efc0be..d06c38cf4ed81a92635f4ef0c26c713cbb604d7f 100644 (file)
@@ -2509,7 +2509,7 @@ void SwingSchedulerDAG::generateExistingPhis(
     MachineBasicBlock *KernelBB, SMSchedule &Schedule, ValueMapTy *VRMap,
     InstrMapTy &InstrMap, unsigned LastStageNum, unsigned CurStageNum,
     bool IsLast) {
-  // Compute the stage number for the inital value of the Phi, which
+  // Compute the stage number for the initial value of the Phi, which
   // comes from the prolog. The prolog to use depends on to which kernel/
   // epilog that we're adding the Phi.
   unsigned PrologStage = 0;
index d2b1c31805e6c0e694dc6a9a12dc758e3d919d81..b5c63695ff35cae50bdc1a6a5588e821532d44f9 100644 (file)
@@ -454,7 +454,7 @@ TEST(StringMapCustomTest, InitialSizeTest) {
       Map.insert(std::pair<std::string, CountCtorCopyAndMove>(
           std::piecewise_construct, std::forward_as_tuple(Twine(i).str()),
           std::forward_as_tuple(i)));
-    // After the inital move, the map will move the Elts in the Entry.
+    // After the initial move, the map will move the Elts in the Entry.
     EXPECT_EQ((unsigned)Size * 2, CountCtorCopyAndMove::Move);
     // We copy once the pair from the Elts vector
     EXPECT_EQ(0u, CountCtorCopyAndMove::Copy);
index 5953bdc7301faf9ec3e150d6ed2ceeedd876730f..3947d0220ed5e46bf8024018a2285410c6c9a0a8 100644 (file)
@@ -2884,7 +2884,7 @@ void AsmMatcherEmitter::run(raw_ostream &OS) {
   StringTable.EmitString(OS);
   OS << ";\n\n";
 
-  // Emit the static match table; unused classes get initalized to 0 which is
+  // Emit the static match table; unused classes get initialized to 0 which is
   // guaranteed to be InvalidMatchClass.
   //
   // FIXME: We can reduce the size of this table very easily. First, we change