[Bug tree-optimization/46785] Doesn't vectorize reduction x += y*y
irar at il dot ibm.com
gcc-bugzilla@gcc.gnu.org
Sun Dec 5 08:31:00 GMT 2010
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46785
Ira Rosen <irar at il dot ibm.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |irar at il dot ibm.com
--- Comment #2 from Ira Rosen <irar at il dot ibm.com> 2010-12-05 08:31:38 UTC ---
> As we want to allow internal defs we can also just let calls slip through
> here (so we vectorize reductions with veclib vectorized calls as well).
Right.
(In reply to comment #1)
> Btw, I wonder why we bother to check the defs at all and not just do
>
> def1 && flow_bb_inside_loop_p (loop, gimple_bb (def1))
>
> we should be able to handle all vectorizable reduction operands, and
> their vectorizability will be determined anyway.
This checks that the other def is not a reduction too.
Ira
More information about the Gcc-bugs
mailing list