This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/85143] Loop limit prevents (auto)vectorization


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

--- Comment #2 from robertw89 at googlemail dot com ---
This change would be trivial.

To defend my case and rant a bit ;) ...

Indeed, but programmers can manually unroll a loop too ;) . What if the code is
autogenerated? What if the constant comes from a devirtualized call, etc. It
could do this optimization.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]