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: [vta, vta4.4] reverse order of removal of unreachable blocks


Hi,

> In order to avoid deleting SSA DEFs before their uses, we need to delete
> dominators after dominated blocks.  I get the impression that the linked
> list of blocks is ordered such that dominators appear before dominated
> blocks, so walking the linked list of blocks in reverse order ensures we
> delete dominated blocks first.

your impression is wrong, the ordering of the basic blocks is
independent on the dominance ordering,

Zdenek


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