From: Nick Lewycky Date: Tue, 6 Sep 2011 06:56:00 +0000 (+0000) Subject: Apparently we compile the code, not the comments. Thanks Eli! X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=9115fba853ec3f89bf335b22ae51fbf18439e171;p=oota-llvm.git Apparently we compile the code, not the comments. Thanks Eli! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139138 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 4bb69ddb276..e13f60554d3 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -1998,8 +1998,7 @@ const SCEV *ScalarEvolution::getMulExpr(SmallVectorImpl &Ops, 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));