[llvm-commits] [polly] r154337 - in /polly/trunk/lib: Analysis/ScopInfo.cpp ScheduleOptimizer.cpp Support/SCEVValidator.cpp

Tobias Grosser grosser at fim.uni-passau.de
Mon Apr 9 12:46:05 PDT 2012


Author: grosser
Date: Mon Apr  9 14:46:05 2012
New Revision: 154337

URL: http://llvm.org/viewvc/llvm-project?rev=154337&view=rev
Log:
Fix typos.

Pointed out by: Sebastian Pop  <sebpop at gmail.com>

Modified:
    polly/trunk/lib/Analysis/ScopInfo.cpp
    polly/trunk/lib/ScheduleOptimizer.cpp
    polly/trunk/lib/Support/SCEVValidator.cpp

Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=154337&r1=154336&r2=154337&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Mon Apr  9 14:46:05 2012
@@ -324,12 +324,12 @@
 
   setBaseName();
 
-  // Devide the access function by the size of the elements in the array.
+  // Divide the access function by the size of the elements in the array.
   //
   // A stride one array access in C expressed as A[i] is expressed in LLVM-IR
   // as something like A[i * elementsize]. This hides the fact that two
   // subsequent values of 'i' index two values that are stored next to each
-  // other in memory. By this devision we make this characteristic obvious
+  // other in memory. By this division we make this characteristic obvious
   // again.
   isl_int v;
   isl_int_init(v);

Modified: polly/trunk/lib/ScheduleOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/ScheduleOptimizer.cpp?rev=154337&r1=154336&r2=154337&view=diff
==============================================================================
--- polly/trunk/lib/ScheduleOptimizer.cpp (original)
+++ polly/trunk/lib/ScheduleOptimizer.cpp Mon Apr  9 14:46:05 2012
@@ -291,7 +291,7 @@
 //
 // This transformation creates a loop at the innermost level. The loop has a
 // constant number of iterations, if the number of loop iterations at
-// DimToVectorize can be devided by VectorWidth. The default VectorWidth is
+// DimToVectorize can be divided by VectorWidth. The default VectorWidth is
 // currently constant and not yet target specific. This function does not reason
 // about parallelism.
 static isl_map *getPrevectorMap(isl_ctx *ctx, int DimToVectorize,

Modified: polly/trunk/lib/Support/SCEVValidator.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Support/SCEVValidator.cpp?rev=154337&r1=154336&r2=154337&view=diff
==============================================================================
--- polly/trunk/lib/Support/SCEVValidator.cpp (original)
+++ polly/trunk/lib/Support/SCEVValidator.cpp Mon Apr  9 14:46:05 2012
@@ -213,7 +213,7 @@
     ValidatorResult LHS = visit(Expr->getLHS());
     ValidatorResult RHS = visit(Expr->getRHS());
 
-    // We currently do not represent an unsigned devision as an affine
+    // We currently do not represent an unsigned division as an affine
     // expression. If the division is constant during Scop execution we treat it
     // as a parameter, otherwise we bail out.
     if (LHS.isConstant() && RHS.isConstant())





More information about the llvm-commits mailing list