Use wi:: in canon_condition
Richard Sandiford
richard.sandiford@arm.com
Wed Apr 29 11:42:00 GMT 2015
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
More information about the Gcc-patches
mailing list