https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113682
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Component|other |rtl-optimization
Version|unknown |14.0
Target| |aarch64, x86_64-*-*
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Since there's a loop exit involved (and the loop has multiple exits)
if-conversion is made difficult here.
You could try rotating manually producing a do { } while loop with
a "nicer" exit condition and see whether that helps.