This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix combiner to create canonical CONST_INTs (PR rtl-optimization/53519)
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 30 May 2012 07:24:38 +0100
- Subject: Re: [PATCH] Fix combiner to create canonical CONST_INTs (PR rtl-optimization/53519)
- References: <20120530052444.GJ16117@tyan-ft48-01.lab.bos.redhat.com>
Jakub Jelinek <jakub@redhat.com> writes:
> 2012-05-30 Jakub Jelinek <jakub@redhat.com>
>
> PR rtl-optimization/53519
> * combine.c (simplify_shift_const_1) <case NOT>: Use constm1_rtx
> instead of GEN_INT (GET_MODE_MASK (mode)) as second operand of XOR.
>
> * gcc.c-torture/compile/pr53519.c: New test.
OK, thanks.
Richard