diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-12 03:20:32 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-06-12 03:20:32 +0000 |
commit | 4509ec42b88e9220f61bca5654411e65368ac53a (patch) | |
tree | 38889be46efb91bda088637240d07434b12be6bd /lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 026dc223aeef2579d63f395007491e37d6cde3a0 (diff) |
AnalyzeBranch doesn't change which successors a bb has, just the order
we try to branch to them.
Before we were creating successor lists with duplicated entries. Fixing that
found a bug in isBlockOnlyReachableByFallthrough that would causes it to
return the wrong answer for
-----------
...
jne foo
jmp bar
foo:
----------
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132882 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions