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, Apr 13, 2005 at 04:58:07PM +0200, Steven Bosscher wrote:
> On Wednesday 13 April 2005 16:49, Jeffrey A Law wrote:
>
> > 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?
> 
CCP will use it if it sees a constant in a PHI argument.
However, most of the changes I have in mind involve telling the
optimizers not to expect constants in the argument list (for
instance, the copy propagator will break PHI evaluation as soon
as it sees a constant in the argument list).


Diego.


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