This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: spill failure after IF-CASE-2 transformation
On 02/22/2012 01:23 PM, Henderson, Stuart wrote:
> The problem with noce_get_condition is that if the condition variable
> is a MODE_INT register it will return it and set earliest as the jump
> insn itself. I'm not sure why this is the case, but it seems like
> something we don't want to be doing in this situation. Is there a
> reasonable check that should be made to avoid noce_get_condition
> doing this? e.g. if the condition var is a reg and
> !small_register_classes_for_mode_p.
Make an exception for BImode and small_register_classes_for_mode_p (BImode).
Bernd