This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: messy combine problem - PPC
On Mon, Dec 03, 2001 at 03:53:12PM -0800, Zack Weinberg wrote:
> I'll try this, but will it inhibit desirable optimizations?
No.
> > Also, that should really be using regs_invalidated_by_call rather
> > than call_used_regs. Not that it'll make too much difference,
> > since we don't do a whole lot of combining with fixed registers.
>
> Huh?
for (i = 0; i < FIRST_PSEUDO_REGISTER; i++)
- if (call_used_regs[i])
+ if (TEST_HARD_REG_BIT (regs_invalidated_by_call, i))
r~