This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: pr14627


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]