[llvm] r232796 - Fix comment from r232794. NFC
Nick Lewycky
nicholas at mxc.ca
Thu Mar 19 19:52:23 PDT 2015
Author: nicholas
Date: Thu Mar 19 21:52:23 2015
New Revision: 232796
URL: http://llvm.org/viewvc/llvm-project?rev=232796&view=rev
Log:
Fix comment from r232794. NFC
Modified:
llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=232796&r1=232795&r2=232796&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Thu Mar 19 21:52:23 2015
@@ -1102,7 +1102,7 @@ const SCEV *ScalarEvolution::getTruncate
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;
More information about the llvm-commits
mailing list