[patch] tree-ssa-dom.c: Use VEC(vrp_element_p,heap) instead of VARRAY.

Jeffrey A Law law@redhat.com
Wed Apr 27 16:30:00 GMT 2005


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



More information about the Gcc-patches mailing list