This is the mail archive of the gcc-patches@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: 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
--


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