Fix comment from r232794. NFC
authorNick Lewycky <nicholas@mxc.ca>
Fri, 20 Mar 2015 02:52:23 +0000 (02:52 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Fri, 20 Mar 2015 02:52:23 +0000 (02:52 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232796 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index cbc8a45a709f55e986914f7b55fa8145ac789f3f..c3290e0a12368439151bbe5854eb990ba2bfd1ed 100644 (file)
@@ -1102,7 +1102,7 @@ const SCEV *ScalarEvolution::getTruncateExpr(const SCEV *Op,
     return getTruncateOrZeroExtend(SZ->getOperand(), Ty);
 
   // trunc(x1+x2+...+xN) --> trunc(x1)+trunc(x2)+...+trunc(xN) if we can
-  // eliminate all the truncates, or we replace extensions with truncates.
+  // eliminate all the truncates, or we replace other casts with truncates.
   if (const SCEVAddExpr *SA = dyn_cast<SCEVAddExpr>(Op)) {
     SmallVector<const SCEV *, 4> Operands;
     bool hasTrunc = false;