summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2010-01-07 23:50:06 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2010-01-07 23:50:06 +0000
commit35e234bf24615180444c1f4c33d76f4943a001a2 (patch)
tree5980757eee7678138872656727fae2bf29e6a6a8 /clang/lib/CodeGen/CodeGenModule.cpp
parent35d3b9dcd01691ea966b1d6023e0f9368a56c959 (diff)
downloadbcm5719-llvm-35e234bf24615180444c1f4c33d76f4943a001a2.tar.gz
bcm5719-llvm-35e234bf24615180444c1f4c33d76f4943a001a2.zip
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. llvm-svn: 92967
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud