[Bug tree-optimization/106322] [12/13 Regression] tree-vectorize: Wrong code at O2 level (-fno-tree-vectorize is working) since r12-2404-ga1d27560770818c5
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Aug 10 12:36:11 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106322
--- Comment #43 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #42)
> I think this goes wrong in vectorizable_operation which does
>
> if (using_emulated_vectors_p
> && !vect_can_vectorize_without_simd_p (code))
>
> to guard this but I'm not sure how this slips through?
Ah, it's an internal function. I think we should simply return false
during analysis for any vect_emulated_vector_p type in vectorizable_call.
Alternatively pattern recognition could also be made to fail but the above
is definitely more future proof.
More information about the Gcc-bugs
mailing list