diff options
| author | Frits van Bommel <fvbommel@gmail.com> | 2010-12-16 12:16:00 +0000 |
|---|---|---|
| committer | Frits van Bommel <fvbommel@gmail.com> | 2010-12-16 12:16:00 +0000 |
| commit | 9bbe849fc345e5bbb757faafa1d1da8a5a439c42 (patch) | |
| tree | 2dba14bd5618eacad4771fbf150c10680c3eb2f4 /clang/lib/Sema/SemaTemplate.cpp | |
| parent | 8d1ab6f6e1afb1d96246558d960b766df9d83ab4 (diff) | |
| download | bcm5719-llvm-9bbe849fc345e5bbb757faafa1d1da8a5a439c42.tar.gz bcm5719-llvm-9bbe849fc345e5bbb757faafa1d1da8a5a439c42.zip | |
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.
llvm-svn: 121966
Diffstat (limited to 'clang/lib/Sema/SemaTemplate.cpp')
0 files changed, 0 insertions, 0 deletions

