Re: [PATCH, combine]: Use correct mode for ASHIFT in force_int_to_mode

2018-01-09 Thread Segher Boessenkool
Hi! On Mon, Jan 08, 2018 at 08:41:55PM +0100, Uros Bizjak wrote: > Attached patch corrects wrong mode argument in the call to > force_to_mode call for ASHIFT operator. The patch uses "mode" mode, > the same as for all binop and unop operators in the force_int_to_mode > function. > > Also, the unp

[PATCH, combine]: Use correct mode for ASHIFT in force_int_to_mode

2018-01-08 Thread Uros Bizjak
Hello! Attached patch corrects wrong mode argument in the call to force_to_mode call for ASHIFT operator. The patch uses "mode" mode, the same as for all binop and unop operators in the force_int_to_mode function. Also, the unpatched function would force operand to op_mode and later truncate to o