Fix typo.
authorNick Lewycky <nicholas@mxc.ca>
Sat, 28 Jan 2012 23:33:44 +0000 (23:33 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Sat, 28 Jan 2012 23:33:44 +0000 (23:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149185 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/IndVarSimplify.cpp

index ac1209f46f668e4184caf1df45a6e3b267736ff3..917ec5886ca19739676c71d7c66f10045a8300b3 100644 (file)
@@ -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;
 }