summaryrefslogtreecommitdiff
path: root/lib/Transforms/Scalar/LoopIndexSplit.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-12-08 17:07:24 +0000
committerDevang Patel <dpatel@apple.com>2008-12-08 17:07:24 +0000
commit042b877e84f48377eb46c09704cf35cd633fb1f0 (patch)
treeff40f2a221887a18ed120b145919a1488b4e7d84 /lib/Transforms/Scalar/LoopIndexSplit.cpp
parent6d9896f153359785299651bcffd363fdefd67a4c (diff)
downloadllvm-042b877e84f48377eb46c09704cf35cd633fb1f0.tar.gz
llvm-042b877e84f48377eb46c09704cf35cd633fb1f0.tar.bz2
llvm-042b877e84f48377eb46c09704cf35cd633fb1f0.tar.xz
Fix spelling.
Thanks Duncan! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60702 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Scalar/LoopIndexSplit.cpp')
-rw-r--r--lib/Transforms/Scalar/LoopIndexSplit.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/lib/Transforms/Scalar/LoopIndexSplit.cpp b/lib/Transforms/Scalar/LoopIndexSplit.cpp
index a73b335526..cbe507cfa9 100644
--- a/lib/Transforms/Scalar/LoopIndexSplit.cpp
+++ b/lib/Transforms/Scalar/LoopIndexSplit.cpp
@@ -104,7 +104,7 @@ namespace {
/// ...
/// }
/// }
- /// 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 @@ namespace {
/// 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 @@ bool LoopIndexSplit::restrictLoopBound(ICmpInst &Op) {
/// ...
/// }
/// }
-/// 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 @@ bool LoopIndexSplit::cleanBlock(BasicBlock *BB) {
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 @@ Value * LoopIndexSplit::IVisLT(ICmpInst &Op) {
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 @@ Value * LoopIndexSplit::IVisLE(ICmpInst &Op) {
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 @@ Value * LoopIndexSplit::IVisGT(ICmpInst &Op) {
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) {