diff options
author | Daniel Jasper <djasper@google.com> | 2015-01-20 19:43:33 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2015-01-20 19:43:33 +0000 |
commit | 6b77455f819dfd587bd6927b7e1c705a6d3df36d (patch) | |
tree | 6a751d08ecaca770ec719670c267a0dc272789a2 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | be10ece5ed0eaad063cfef5d4669dea952fb1fa1 (diff) | |
download | llvm-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