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 | defd4b0875f692e26b67b0851c7e63f922fcdcd0 (patch) | |
| tree | 5789b967010a52d8877c01769f2e92a262c4be0c /llvm/lib/Transforms | |
| parent | d2b4713e53a7667fa51b5aad17337bc6142d157d (diff) | |
| download | llvm-defd4b0875f692e26b67b0851c7e63f922fcdcd0.zip llvm-defd4b0875f692e26b67b0851c7e63f922fcdcd0.tar.gz llvm-defd4b0875f692e26b67b0851c7e63f922fcdcd0.tar.bz2 | |
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:
----------
llvm-svn: 132882
Diffstat (limited to 'llvm/lib/Transforms')
0 files changed, 0 insertions, 0 deletions
