[llvm-commits] [llvm] r60702 - /llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

Devang Patel dpatel at apple.com
Mon Dec 8 09:07:25 PST 2008


Author: dpatel
Date: Mon Dec  8 11:07:24 2008
New Revision: 60702

URL: http://llvm.org/viewvc/llvm-project?rev=60702&view=rev
Log:
Fix spelling. 
Thanks Duncan!

Modified:
    llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp

Modified: llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp?rev=60702&r1=60701&r2=60702&view=diff

==============================================================================
--- llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp (original)
+++ llvm/trunk/lib/Transforms/Scalar/LoopIndexSplit.cpp Mon Dec  8 11:07:24 2008
@@ -104,7 +104,7 @@
     ///     ...
     ///   }
     /// }
-    /// is trnasformed to iterators from A to B, if A > 0 and B < N.
+    /// is transformed to iterators from A to B, if A > 0 and B < N.
     ///
     bool updateLoopIterationSpace();
 
@@ -147,22 +147,22 @@
     /// instructions are either PHINodes or IV based values.
     bool cleanBlock(BasicBlock *BB);
 
-    /// IVisLT - If Op is comparing IV based value with an loop invaraint and 
+    /// IVisLT - If Op is comparing IV based value with an loop invariant and 
     /// IV based value is less than  the loop invariant then return the loop 
     /// invariant. Otherwise return NULL.
     Value * IVisLT(ICmpInst &Op);
 
-    /// IVisLE - If Op is comparing IV based value with an loop invaraint and 
+    /// IVisLE - If Op is comparing IV based value with an loop invariant and 
     /// IV based value is less than or equal to the loop invariant then 
     /// return the loop invariant. Otherwise return NULL.
     Value * IVisLE(ICmpInst &Op);
 
-    /// IVisGT - If Op is comparing IV based value with an loop invaraint and 
+    /// IVisGT - If Op is comparing IV based value with an loop invariant and 
     /// IV based value is greater than  the loop invariant then return the loop 
     /// invariant. Otherwise return NULL.
     Value * IVisGT(ICmpInst &Op);
 
-    /// IVisGE - If Op is comparing IV based value with an loop invaraint and 
+    /// IVisGE - If Op is comparing IV based value with an loop invariant and 
     /// IV based value is greater than or equal to the loop invariant then 
     /// return the loop invariant. Otherwise return NULL.
     Value * IVisGE(ICmpInst &Op);
@@ -508,7 +508,7 @@
 ///     ...
 ///   }
 /// }
-/// is trnasformed to iterators from A to B, if A > 0 and B < N.
+/// is transformed to iterators from A to B, if A > 0 and B < N.
 ///
 bool LoopIndexSplit::updateLoopIterationSpace() {
   SplitCondition = NULL;
@@ -1127,7 +1127,7 @@
   return true;
 }
 
-/// IVisLT - If Op is comparing IV based value with an loop invaraint and 
+/// IVisLT - If Op is comparing IV based value with an loop invariant and 
 /// IV based value is less than  the loop invariant then return the loop 
 /// invariant. Otherwise return NULL.
 Value * LoopIndexSplit::IVisLT(ICmpInst &Op) {
@@ -1145,7 +1145,7 @@
   return NULL;
 }
 
-/// IVisLE - If Op is comparing IV based value with an loop invaraint and 
+/// IVisLE - If Op is comparing IV based value with an loop invariant and 
 /// IV based value is less than or equal to the loop invariant then 
 /// return the loop invariant. Otherwise return NULL.
 Value * LoopIndexSplit::IVisLE(ICmpInst &Op) {
@@ -1163,7 +1163,7 @@
   return NULL;
 }
 
-/// IVisGT - If Op is comparing IV based value with an loop invaraint and 
+/// IVisGT - If Op is comparing IV based value with an loop invariant and 
 /// IV based value is greater than  the loop invariant then return the loop 
 /// invariant. Otherwise return NULL.
 Value * LoopIndexSplit::IVisGT(ICmpInst &Op) {
@@ -1181,7 +1181,7 @@
   return NULL;
 }
 
-/// IVisGE - If Op is comparing IV based value with an loop invaraint and 
+/// IVisGE - If Op is comparing IV based value with an loop invariant and 
 /// IV based value is greater than or equal to the loop invariant then 
 /// return the loop invariant. Otherwise return NULL.
 Value * LoopIndexSplit::IVisGE(ICmpInst &Op) {





More information about the llvm-commits mailing list