Re: [PATCH] Fix vect_recog_widen_mult_pattern (PR tree-optimization/57537)

2013-06-12 Thread Richard Biener
On Wed, 12 Jun 2013, Jakub Jelinek wrote: > Hi! > > gcc.dg/vect/slp-widen-mult-half.c fails on ppc64, because > vect_recog_widen_mult_pattern creates with WIDEN_MULT_EXPR > with invalid argument types - it is a HIxHI->SI multiplication, > and rhs1 is properly HImode, but rhs2 is INTEGER_CST with

[PATCH] Fix vect_recog_widen_mult_pattern (PR tree-optimization/57537)

2013-06-12 Thread Jakub Jelinek
Hi! gcc.dg/vect/slp-widen-mult-half.c fails on ppc64, because vect_recog_widen_mult_pattern creates with WIDEN_MULT_EXPR with invalid argument types - it is a HIxHI->SI multiplication, and rhs1 is properly HImode, but rhs2 is INTEGER_CST with SImode (which vect_handle_widen_op_by_const verified it