This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Moving some VRP bits from DOM into tree-vrp
- From: Roger Sayle <roger at eyesopen dot com>
- To: Richard Guenther <richard dot guenther at gmail dot com>, Jeffrey A Law <law at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 14 Jun 2005 08:18:30 -0600 (MDT)
- Subject: Re: Moving some VRP bits from DOM into tree-vrp
On Tue, 14 Jun 2005, Roger Sayle wrote:
> Agreed. Whilst I can see there may be some value in a function like
> local_fold in the tree-ssa optimizers, it certainly isn't merited for
> this particular change. Perhaps Jeff has accidentally introduced it
> prior to a legitimate use in a follow-up patch?
Digging a bit deeper, it looks like Jeff is just introducing a duplicate
copy of local_fold in tree-vrp.c based upon the identical function in
tree-ssa-dom.c. I suspect that Jeff just didn't notice that the use
of local_fold wasn't appropriate in the original code, and simply moved
it to its new location blindly.
Roger
--