This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Avoid creating garbage CONSTs in cselib.c
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: Steven Bosscher <stevenb dot gcc at gmail dot com>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Sun, 27 Apr 2014 22:12:23 +0100
- Subject: Re: RFA: Avoid creating garbage CONSTs in cselib.c
- Authentication-results: sourceware.org; auth=none
- References: <87wqebaw3r dot fsf at talisman dot default> <CABu31nND-+MiNcQut75aNB9mA3ye2pOKcV66NrdTLxG87FiyRA at mail dot gmail dot com>
Steven Bosscher <stevenb.gcc@gmail.com> writes:
>> It looks like ~1.5% to ~2% of all rtl created comes from wrap_constant
>> in cselib.c. Not a huge amount, but it's easy to avoid.
>>
>> Tested on x86_64-linux-gnu. OK to install?
>
> Nice patch. OK after also testing this on an autoinc target.
OK, installed after comparing the asm output before and after the patch
on gcc.torture, gcc.dg and g++.dg for arm-eabi. There were no differences.
Thanks,
Richard