diff options
author | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-01-07 23:50:06 +0000 |
---|---|---|
committer | Tobias Grosser <grosser@fim.uni-passau.de> | 2010-01-07 23:50:06 +0000 |
commit | ecd4694458796d8d9dd205a8eb43ff7163425bca (patch) | |
tree | a82ceeccd78c698b4457b6e6971776cb540ff2fa /lib/Bitcode | |
parent | 8d10f9d4a836907d7bf048be507787a9233959c9 (diff) |
Fix DFS number calculation for postdominators
The DFS number calculation for postdominators was broken. In the case of
multiple exits that form the post dominator root nodes, do not iterate over
all exits, but start from the virtual root node. Otherwise bbs, that are not
post dominated by any exit but by the virtual root node, will never be assigned
a DFS number.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92967 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
0 files changed, 0 insertions, 0 deletions