https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82447
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-10-06
CC| |amker at gcc dot gnu.org
Summary|Consider removing cmp |[IVOPTS] Consider removing
|instruction while iterating |cmp instruction while
|on an array of known bound |iterating on an array of
| |known bound
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think IVO knows to count from 128 down but not from -128 to 0 up so this
would need to be added (and hope that costing on the target is good enough to
prefer that variant).