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: [patch] tree-ssa-dom.c: Use VEC(vrp_element_p,heap) instead ofVARRAY.


On Wed, 2005-04-27 at 12:19 -0400, Kazu Hirata wrote:

> > I haven't looked, but I would utterly amazed if the simplistic stuff
> > done by tree-ssa-dom.c isn't totally subsumed by the new VRP pass.
> 
> Well, we can probably feed DOM similar information using
> SSA_NAME_VALUE_RANGE.
Actually, I doubt we would even need to do that.

All DOM's VRP code does is record simple ranges and use them to either
eliminate conditionals or simplify conditionals.  I would expect the
VRP code to already perform these transformations.  ie, I don't see
any reason why we should keep the DOM VRP code (of course we'd need
to verify that it's become useless, but I'm pretty sure it has).


jeff


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