This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Post-register-allocation opportunitistic optimizer?
On Fri, May 03, 2002 at 02:42:02PM -0700, tm wrote:
> If I understand correctly, define_peephole2 will optimize the first two
> sequences (assuming they both use one hard reg apiece) and fail to
> optimize the rest of the cases.
Why do you think this? The set of live registers is recomputed
for every independent peep2 optimization. Thus they should all
be optimized.
r~