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

--- Comment #4 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to liu zhenyu from comment #1)
> Possible direction: for loops with early exits, only trust
> `get_max_loop_iterations` in
> `loop_niters_no_overflow` when the main exit is the only exit (or use the
> main exit's own niter bound).
> With ivopts enabled the vector exit test is rewritten so this input happens
> to come out right.

Reasonable, but I think a bit restrictive, will have a think.

Reply via email to