Fix a lot of typos. NFC.
llvm-svn: 304974
diff --git a/polly/lib/Analysis/ScopDetection.cpp b/polly/lib/Analysis/ScopDetection.cpp
index d5c154f..0d36414 100644
--- a/polly/lib/Analysis/ScopDetection.cpp
+++ b/polly/lib/Analysis/ScopDetection.cpp
@@ -13,7 +13,7 @@
// that only has statically known control flow and can therefore be described
// within the polyhedral model.
//
-// Every Scop fullfills these restrictions:
+// Every Scop fulfills these restrictions:
//
// * It is a single entry single exit region
//
@@ -734,11 +734,11 @@
/// Remove smax of smax(0, size) expressions from a SCEV expression and
/// register the '...' components.
///
-/// Array access expressions as they are generated by gfortran contain smax(0,
+/// Array access expressions as they are generated by GFortran contain smax(0,
/// size) expressions that confuse the 'normal' delinearization algorithm.
/// However, if we extract such expressions before the normal delinearization
/// takes place they can actually help to identify array size expressions in
-/// fortran accesses. For the subsequently following delinearization the smax(0,
+/// Fortran accesses. For the subsequently following delinearization the smax(0,
/// size) component can be replaced by just 'size'. This is correct as we will
/// always add and verify the assumption that for all subscript expressions
/// 'exp' the inequality 0 <= exp < size holds. Hence, we will also verify
@@ -1477,7 +1477,7 @@
if (NumAffineLoops >= 2)
return true;
- // A loop with multiple non-trivial blocks migt be amendable to distribution.
+ // A loop with multiple non-trivial blocks might be amendable to distribution.
if (NumAffineLoops == 1 && hasPossiblyDistributableLoop(Context))
return true;