pr14627
Jeffrey A Law
law@redhat.com
Wed Apr 13 15:17:00 GMT 2005
On Wed, 2005-04-13 at 16:58 +0200, Steven Bosscher wrote:
> On Wednesday 13 April 2005 16:49, Jeffrey A Law wrote:
> > On Wed, 2005-04-13 at 10:31 -0400, Diego Novillo wrote:
> > > Back to the original problem. If by preventing constants in PHI
> > > arguments we save ourselves this pass and don't increase memory
> > > consumption nor compile times, then what useful purpose do they
> > > serve? They certainly get in the way, we are constantly
> > > traversing PHI arguments with kid gloves.
> >
> > Simply disallowing constants would be a mistake -- we would need
> > to do the legwork to fix the existing optimizers.
>
> Which ones? Isn't DOM the only pass that uses this?
I'd also look at phi-opt, if conversion, loop analysis PRE, and
probably others.
Jeff
More information about the Gcc-patches
mailing list