This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [ tree-ssa ] Avoid useless reevaluations in CCP
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: 18 Feb 2003 21:58:56 -0500
- Subject: Re: [ tree-ssa ] Avoid useless reevaluations in CCP
- References: <200302142219.h1EMJ6Kg005477@localhost.redhat.com>
On Fri, 2003-02-14 at 17:19, law@redhat.com wrote:
> Tree CCP has the nasty habit of performing pointless reevaluations of
> statements. This can happen due to a couple of implementation details.
>
There's a bit of algorithmic nonsense too. I've had this in my "list of
things to check out eventually":
@inproceedings{ stoltz94constant,
author = "Eric Stoltz and Michael Wolfe and Michael P. Gerlek",
title = "Constant propagation: a fresh, demand-driven look",
booktitle = "Selected Areas in Cryptography",
pages = "400-404",
year = "1994"}
http://citeseer.nj.nec.com/187410.html
They talk about CCP's tendency to evaluate things more than once.
Diego.