https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77848
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-10-05
Target Milestone|7.0 |---
Ever confirmed|0 |1
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
if-conversion was added purely as vectorization enabler and has no costing
model when applied to loops that do not end up being vectorized.
if-conversion has code to emit the if-converted body in a loop copy that is
thrown away when not vectorized -- I've argued this should be the only and
the default behavior which would also solve this PR.
I'd happily approve a patch implementing it ;) Look for
version_loop_for_if_conversion () and always apply it.