[Bug middle-end/106010] Miss vectorization for complex type copy.

crazylht at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 23 06:45:17 GMT 2022


--- Comment #3 from Hongtao.liu <crazylht at gmail dot com> ---
(In reply to Hongtao.liu from comment #2)
> It seems loop vectorizer assume unroll factor to be number of elemenets,
> similar as groups size for SLP.
> I'm trying to handle them for when scalar type is COMPLEX, not sure if
> there's other issues? It looks to me Complex type only existed for
> movement(paramenter pass, load, store), any real operators will be lowered
> to operations for imag and real parts.

Maybe add a new member bool complex_p in stmt_vec_info.

More information about the Gcc-bugs mailing list