This is the mail archive of the
mailing list for the GCC project.
Re: [tree-ssa] RFC: Making control flow more explicit
On Mon, 2003-08-11 at 15:51, Zdenek Dvorak wrote:
> > So why are you remoiving the concept of a parent? Or is there simply a
> > different way of getting to it?
> because parent obviously is not what you want here. IIRC in the ssa dce
> algorithm marking of the neccesary control statements is somehow
> done using dominator information.
You can use the parent relationship to avoid building the reverse
dominator tree to get at the control dependent information. If block B1
is the parent of block B2, then B2 is control dependent on B1.
The problem with the parent relationship is that it needs to be kept
up-to-date while manipulating the flowgraph. Why do you think this is