summaryrefslogtreecommitdiffstats
path: root/clang/lib
diff options
context:
space:
mode:
authorFrits van Bommel <fvbommel@gmail.com>2010-12-16 12:16:00 +0000
committerFrits van Bommel <fvbommel@gmail.com>2010-12-16 12:16:00 +0000
commit9bbe849fc345e5bbb757faafa1d1da8a5a439c42 (patch)
tree2dba14bd5618eacad4771fbf150c10680c3eb2f4 /clang/lib
parent8d1ab6f6e1afb1d96246558d960b766df9d83ab4 (diff)
downloadbcm5719-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')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud