diff options
author | Chris Lattner <sabre@nondot.org> | 2002-10-04 14:45:48 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-10-04 14:45:48 +0000 |
commit | 4e4caeffbdf3da85b980386131f6fd364a981153 (patch) | |
tree | 23b841084cdc2719ae1521274a7bc7c066805d26 /support/lib/Support/Statistic.cpp | |
parent | a00397e1eeaaffc21d01af612480476fe95b20a5 (diff) |
Fix a nasty problem with dominance calculation for unreachable blocks.
If we had a CFG that look like Entry -> B, Unreachable -> B, then we would
not correctly determine that Entry dominated B, because Entry did not
apparently dominate "unreachable". This patch fixes this by making the entry
node dominate all blocks, including unreachable ones.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'support/lib/Support/Statistic.cpp')
0 files changed, 0 insertions, 0 deletions