This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/49849] loop optimization prevents vectorization
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Jul 2011 09:38:18 +0000
- Subject: [Bug tree-optimization/49849] loop optimization prevents vectorization
- Auto-submitted: auto-generated
- References: <bug-49849-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49849
--- Comment #3 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-07-26 09:38:13 UTC ---
Thanks Richard,
--param max-completely-peel-times=1
does the trick and, in my real life example, does not have any adverse effect
elsewhere
while it speeds up the loop as expected.
More in general,
Do you think that GCC will ever be able to transform things like foo into bar
by itself?