diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-05-06 16:24:11 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-05-06 16:24:11 +0000 |
commit | c52edc7d3072ce5f93a7fd4ce7636155f7ab7a1f (patch) | |
tree | f75d6d723714f1f97c640c571ed25455cf960916 /autoconf | |
parent | 429009b0f1bef035b8ad1705edb7f1741ddaa427 (diff) | |
download | external_llvm-c52edc7d3072ce5f93a7fd4ce7636155f7ab7a1f.zip external_llvm-c52edc7d3072ce5f93a7fd4ce7636155f7ab7a1f.tar.gz external_llvm-c52edc7d3072ce5f93a7fd4ce7636155f7ab7a1f.tar.bz2 |
Fix handling of unreachable blocks in the SSAUpdater. The previous code only
handled cases where a block had zero predecessors, but failed to detect other
cases like loops with no entries. The SSAUpdater is already doing a forward
traversal through the blocks, so it is not hard to identify the blocks that
were never reached on that traversal. This fixes the crash for ppc on the
stepanov_vector test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103184 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'autoconf')
0 files changed, 0 insertions, 0 deletions