This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA] three simple combine cleanups, 2/3: use simplify_const_binary_operation


On Mon, 19 Dec 2005, Paolo Bonzini wrote:
> This patch uses simplify_const_binary_operation in a couple
> of places where, according to the surrounding source code or
> comments, the transformations are meant to reassociate
> operations so that they have constant operands.
>
> This should be more efficient, and safer if these transforms are
> ever moved to simplify_binary_operation_1.
>
> 2005-12-18  Paolo Bonzini  <bonzini@gnu.org>
>
>       * combine.c (simplify_shift_const): Use, whenever applicable,
>       simplify_const_binary_operation.

This is OK for mainline.

Thanks,

Roger
--


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]