Clarify SCEV code which handle powers of 2
Mark Heffernan
meheff at google.com
Mon Dec 15 13:20:49 PST 2014
r224274.
On Mon, Dec 15, 2014 at 1:12 PM, Andrew Trick <atrick at apple.com> wrote:
>
> > On Dec 15, 2014, at 1:02 PM, Mark Heffernan <meheff at google.com> wrote:
> >
> > Hi Andy,
> >
> > As discussed in the patch for fixing PR21694, here's a little patch
> which clarifies the HowFarToZero computation when the step is a positive
> power of two. Functionally this should be identical to the existing code
> except for the case where Step is maximally negative (eg, INT_MIN). We now
> punt in that one corner case to make reasoning about the code easier.
> >
> > Mark
> > <scev_clearup.patch>
>
> Perfect. Thanks Mark.
> -Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141215/424e6bee/attachment.html>
More information about the llvm-commits
mailing list