summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2012-01-28 23:33:44 +0000
committerNick Lewycky <nicholas@mxc.ca>2012-01-28 23:33:44 +0000
commit1b3167edec7b2c34645324f4dbce5b0d9c2afcb0 (patch)
tree0ef465e3891b32ce2cb9799ff958ed0b0625f0f7 /llvm/lib/Transforms
parent326efeb95a3a64c9f20229dd769ff6ff8ac1ac5d (diff)
downloadbcm5719-llvm-1b3167edec7b2c34645324f4dbce5b0d9c2afcb0.tar.gz
bcm5719-llvm-1b3167edec7b2c34645324f4dbce5b0d9c2afcb0.zip
Fix typo.
llvm-svn: 149185
Diffstat (limited to 'llvm/lib/Transforms')
-rw-r--r--llvm/lib/Transforms/Scalar/IndVarSimplify.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
index ac1209f46f6..917ec5886ca 100644
--- a/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
+++ b/llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
@@ -1281,8 +1281,8 @@ static bool isHighCostExpansion(const SCEV *S, BranchInst *BI,
if (isa<SCEVSMaxExpr>(S) || isa<SCEVUMaxExpr>(S))
return true;
- // If we haven't recognized an expensive SCEV patter, assume its an expression
- // produced by program code.
+ // If we haven't recognized an expensive SCEV pattern, assume it's an
+ // expression produced by program code.
return false;
}
OpenPOWER on IntegriCloud