On 11/12/2012 11:43 AM, Jakub Jelinek wrote:
> 2012-11-12 Jakub Jelinek
>
> PR tree-optimization/55281
> * tree-vect-generic.c (expand_vector_condition): Accept any
> is_gimple_val rather than just SSA_NAME if not COMPARISON_CLASS_P.
> * fold-const.c (fold_ternary_loc):
Hi!
This patch fixes two ICEs on the testcases, one is ICE in
expand_vector_condition which wouldn't handle VECTOR_CST as first argument
of VEC_COND_EXPR (plus a change to make sure it is folded earlier if
possible), and the vectorizable_condition change makes sure the condition
is actually using