This is the mail archive of the gcc@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: Bugs in SSA-CCP and SSA-PRE optimizers



The useless assignment to T.1 will not be detected by PRE.  You
need copy propagation for that.

Also, why is "foo = pretmp.2 = 1 * 2" not folded?

PRE should be folding expressions.  It should also be calling the
simplifier again, from what I can see.

I'll have it fold the expressions in a moment (I'm about to submit strength reduction).
It will also generate only simple statements now.

Diego.






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