Re: [PATCH] Prepare for constant folder canonicalizations

2011-03-16 Thread H.J. Lu
On Wed, Mar 16, 2011 at 4:34 AM, Richard Guenther wrote: > > This prepares things to share constant folding between passes > (CCP, FRE and VRP).  It simplifies maybe_fold_reference making > sure to first canonicalize MEM_REFs and then call other folders. > > Bootstrapped and tested on x86_64-unkno

[PATCH] Prepare for constant folder canonicalizations

2011-03-16 Thread Richard Guenther
This prepares things to share constant folding between passes (CCP, FRE and VRP). It simplifies maybe_fold_reference making sure to first canonicalize MEM_REFs and then call other folders. Bootstrapped and tested on x86_64-unknown-linux-gnu, applied to trunk. Richard. 2011-03-16 Richard Guent