[Bug tree-optimization/100499] Different results with -fpeel-loops -ftree-loop-vectorize options

amker at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 18 11:36:25 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100499

--- Comment #14 from bin cheng <amker at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #12)
> So in number_of_iterations_ne it looks like the step 's' is always constant
> which makes me wonder if we can somehow use ranger to tell multiple_of_p
> (type, c, s)
> or at least whether, if c is x * s, the multiplication could have overflowed?

Yeah, I am looking if "multiple of" can be feasibly checked in niter analysis,
with help of some basic information from multiple_of_p.

BTW, I am not following changes in "ranger", how should I used in analysis? or
similar to value range info?

Thanks


More information about the Gcc-bugs mailing list