commit | 01abcf339f8d42921c680fefb2ff988cfeee1198 | [log] [tgz] |
---|---|---|
author | Frits van Bommel <fvbommel@gmail.com> | Thu Dec 16 12:16:00 2010 +0000 |
committer | Frits van Bommel <fvbommel@gmail.com> | Thu Dec 16 12:16:00 2010 +0000 |
tree | 0a8e8fbaf45d830d85421152c850f748350f6782 | |
parent | ebef48ea4b0d838d2e4f05024a517bf18b1cc110 [diff] |
Fix a bug in the loop in JumpThreading::ProcessThreadableEdges() where it could falsely produce a MultipleDestSentinel value if the first predecessor ended with an 'indirectbr'. If that happened, it caused an unnecessary FindMostPopularDest() call. This wasn't a correctness problem, but it broke the fast path for single-predecessor blocks. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121966 91177308-0d34-0410-b5e6-96231b3b80d8