[Bug tree-optimization/104406] SLP discovery doesn't use TWO_OPERAND nodes as seeds
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 7 08:48:09 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104406
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
It is indeed. The "trick" will be to start at _3 = COMPLEX_EXPR <..> like we
start at vector CONSTRUCTOR. For the vectorization of the root stmt you'd
then simply do V_C_E<complex-type> (vector-result).
Now, for bigger vectors you'd have to start with multiple COMPLEX_EXPRs
which will unfortunately not be related in the SSA graph (so that's going
to be more difficult if desired).
*** This bug has been marked as a duplicate of bug 31485 ***
More information about the Gcc-bugs
mailing list