This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH 4.8, i386]: Enable post-reload compare optimization pass (PR28685)
On Sun, Feb 5, 2012 at 6:27 PM, Steven Bosscher <firstname.lastname@example.org> wrote:
>> ? ? ? ?PR target/28685
>> ? ? ? ?* config/i386/i386.c (TARGET_FLAGS_REGNUM): New.
> Hmm, how is this (apparently new in 2011) TARGET_FLAGS_REGNUM
> different from the older targetm.fixed_condition_code_regs?
This is how backend enables the pass, please see
gate_compare_elim_after_reload function in gcc/compare-elim.c.
FWIW, the value could be anything != INVALID_REGNUM.