[vta, vta4.4] reverse order of removal of unreachable blocks
Alexandre Oliva
aoliva@redhat.com
Fri Aug 14 11:10:00 GMT 2009
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. This has worked elsewhere, and fixed the
present problem as well. I'm instaling it in both branches.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vta-cfgcleanup-delete-blocks-backwards.patch
Type: text/x-patch
Size: 838 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20090814/cd9d7686/attachment.bin>
-------------- next part --------------
--
Alexandre Oliva, freedom fighter http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/ FSF Latin America board member
Free Software Evangelist Red Hat Brazil Compiler Engineer
More information about the Gcc-patches
mailing list