[llvm-commits] [llvm] r139138 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Nick Lewycky
nicholas at mxc.ca
Mon Sep 5 23:56:00 PDT 2011
Author: nicholas
Date: Tue Sep 6 01:56:00 2011
New Revision: 139138
URL: http://llvm.org/viewvc/llvm-project?rev=139138&view=rev
Log:
Apparently we compile the code, not the comments. Thanks Eli!
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=139138&r1=139137&r2=139138&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Tue Sep 6 01:56:00 2011
@@ -1998,8 +1998,7 @@
const SCEV *NewStart = getMulExpr(A, C);
const SCEV *BD = getMulExpr(B, D);
const SCEV *NewStep = getAddExpr(getMulExpr(A, D),
- getMulExpr(B, C),
- getNegativeSCEV(BD));
+ getMulExpr(B, C), BD);
const SCEV *NewSecondOrderStep =
getMulExpr(BD, getConstant(BD->getType(), 2));
More information about the llvm-commits
mailing list