aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-01-20 19:43:33 +0000
committerDaniel Jasper <djasper@google.com>2015-01-20 19:43:33 +0000
commit6b77455f819dfd587bd6927b7e1c705a6d3df36d (patch)
tree6a751d08ecaca770ec719670c267a0dc272789a2 /clang/lib/Frontend/CompilerInvocation.cpp
parentbe10ece5ed0eaad063cfef5d4669dea952fb1fa1 (diff)
downloadllvm-6b77455f819dfd587bd6927b7e1c705a6d3df36d.zip
llvm-6b77455f819dfd587bd6927b7e1c705a6d3df36d.tar.gz
llvm-6b77455f819dfd587bd6927b7e1c705a6d3df36d.tar.bz2
Prevent binary-tree deterioration in sparse switch statements.
This addresses part of llvm.org/PR22262. Specifically, it prevents considering the densities of sub-ranges that have fewer than TLI.getMinimumJumpTableEntries() elements. Those densities won't help jump tables. This is not a complete solution but works around the most pressing issue. Review: http://reviews.llvm.org/D7070 llvm-svn: 226600
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions