This is the mail archive of the gcc@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: [tree-ssa] RFC: Making control flow more explicit


On Mon, 2003-08-11 at 15:51, Zdenek Dvorak wrote:
> Hello,
> 
> [snip]
> 
> > 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
not correct?


Diego.


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