summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopRotation.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2007-05-11 21:10:54 +0000
committerDan Gohman <gohman@apple.com>2007-05-11 21:10:54 +0000
commit23d9d27c265753da55a8ee7879820acb4d1e3a6d (patch)
tree48a40db04c9bd4e33bce8bb0d42a6615017ecf00 /lib/Transforms/Scalar/LoopRotation.cpp
parent667976e35fe922e425a13848ef97d95dd07ab5f4 (diff)
downloadllvm-23d9d27c265753da55a8ee7879820acb4d1e3a6d.tar.gz
llvm-23d9d27c265753da55a8ee7879820acb4d1e3a6d.tar.bz2
llvm-23d9d27c265753da55a8ee7879820acb4d1e3a6d.tar.xz
Fix typos.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36994 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopRotation.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopRotation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Transforms/Scalar/LoopRotation.cpp b/lib/Transforms/Scalar/LoopRotation.cpp
index 9532bcf328..6c44a9dd75 100644
--- a/lib/Transforms/Scalar/LoopRotation.cpp
+++ b/lib/Transforms/Scalar/LoopRotation.cpp
@@ -116,7 +116,7 @@ bool LoopRotate::runOnLoop(Loop *Lp, LPPassManager &LPM) {
return RotatedOneLoop;
}
-/// Rotate loop LP. Return true if it loop is rotated.
+/// Rotate loop LP. Return true if the loop is rotated.
bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) {
L = Lp;
@@ -130,7 +130,7 @@ bool LoopRotate::rotateLoop(Loop *Lp, LPPassManager &LPM) {
return false;
assert (OrigHeader && OrigLatch && OrigPreHeader &&
- "Loop is not in cannocial form");
+ "Loop is not in canonical form");
// If loop header is not one of the loop exit block then
// either this loop is already rotated or it is not