This is the mail archive of the
mailing list for the GCC project.
Re: Speedup CSE by 5%
On Tue, 2005-01-25 at 20:01 +0100, Arend Bayer wrote:
> On Mon, 17 Jan 2005, Jeffrey A Law wrote:
> > Our of curiosity, do your profiles indicate if there's any call
> > sites for approx_reg_cost which are particularly abusive?
> I didn't see anything abusive. However, the patch below saves 10%
> completely unnecessary calls for lpgparse.i: There is no need to copy_rtx
> before calling fold_rtx, as fold_rtx always makes a copy if it changes
Err, I don't think that patch is safe. See the various calls to
validate_change from within fold_rtx.