On 05/09/18 13:43, Richard Biener wrote:
No.  You might want to look into the x86 backend if there's maybe more tweaks
needed when using non-vector mask modes.

I tracked it down to the vector alignment configuration.

Apparently the vectorizer likes to build a "truth" vector, but is perfectly happy to put it in a non-vector mode. Unfortunately that causes TARGET_VECTOR_ALIGNMENT to be called with the non-vector mode, which wasn't handled correctly.

I'm testing to see what happens with the reg_equal and reg_equiv conversions, but we might be able to drop this patch.

Andrew

Reply via email to