This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Use wi:: in canon_condition
- From: Richard Sandiford <richard dot sandiford at arm dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches\ at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 29 Apr 2015 12:13:55 +0100
- Subject: Re: Use wi:: in canon_condition
- Authentication-results: sourceware.org; auth=none
- References: <87k2wwweg2 dot fsf at e105548-lin dot cambridge dot arm dot com> <553FBDAC dot 4060802 at redhat dot com>
Jeff Law <law@redhat.com> writes:
> On 04/28/2015 07:49 AM, Richard Sandiford wrote:
>> Fix a simple case where we can generalise the CONST_INT handling to all
>> integer constants (CONST_DOUBLE or CONST_WIDE_INT).
>>
>> Tested on x86_64-linux-gnu. OK to install?
>>
>> Thanks,
>> Richard
>>
>>
>> gcc/
>> * loop-iv.c (canon_condition): Generalize to all types of integer
>> constant.
> OK.
Thanks, applied.
> If you have some test/code where this generalization helps, then it'd be
> greatly appreciated if you could add it as a test to the test suite.
This was just by inspection, so unfortunately I don't have any testcases.
Just trying to gradually reduce the specialness of host integers.
Richard