Re: [PATCH] Avoid unnecessary creation of VEC_COND_EXPR in the vectorizer

2016-01-22 Thread Richard Biener
On January 22, 2016 11:09:06 PM GMT+01:00, Jakub Jelinek wrote: >Hi! > >I've noticed we create a VEC_COND_EXPR tree just to grab the arguments >from >it to construct a ternary gimple assign. > >The following patch fixes that by creating the ternary gimple assign >directly. Bootstrapped/regtested

[PATCH] Avoid unnecessary creation of VEC_COND_EXPR in the vectorizer

2016-01-22 Thread Jakub Jelinek
Hi! I've noticed we create a VEC_COND_EXPR tree just to grab the arguments from it to construct a ternary gimple assign. The following patch fixes that by creating the ternary gimple assign directly. Bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2016-01-22 Jakub Jelinek