loop hoisting fails
Ian Lance Taylor
iant@google.com
Fri Feb 11 19:41:00 GMT 2011
"Paulo J. Matos" <pocmatos@gmail.com> writes:
> On 10/02/11 16:04, Ian Lance Taylor wrote:
>> Bother. I've encountered that problem before and I think I used a
>> sledgehammer (a local patch). It's definitely a bug that gcse doesn't
>> consider costs.
>>
>
> I think I might try also patching my local gcc. I guess the trick is
> to check for the cost of the alternative before making the replacement
> in gcse, right? Is it possible to have an idea of how you did it?
My case was somewhat different. I think I just patched gcse_constant_p.
Ian
More information about the Gcc
mailing list