[llvm-commits] [llvm] r139138 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp
Nick Lewycky
nlewycky at google.com
Tue Sep 6 10:56:09 PDT 2011
On 6 September 2011 09:48, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Mon, Sep 5, 2011 at 11:56 PM, Nick Lewycky <nicholas at mxc.ca> wrote:
> > 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!
>
> Sure. :)
>
> BTW, please commit a test for this...
>
Actually, Transforms/IndVarSimplify/test_compute.ll's @quadratic_setlt will
suffice.
Nick
>
> -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));
> >
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> >
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110906/ec70952b/attachment.html>
More information about the llvm-commits
mailing list