diff options
| author | Hans Wennborg <hans@hanshq.net> | 2015-06-18 22:22:30 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2015-06-18 22:22:30 +0000 |
| commit | 67d492a544164c75004f9a5a64a0501cc0ce71ad (patch) | |
| tree | 9fbf3520d063a0b260b270f005ad5ca3bb679dfa /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | d99bb0a7ad76932065c2727c8f971b4838edd95e (diff) | |
Switch lowering: enable whole-switch jump tables at -O0.
To same compile time, the analysis to find dense case-clusters in switches is
not done at -O0. However, when the whole switch is dense enough, it is easy to
turn it into a jump table, resulting in much faster code with no extra effort.
llvm-svn: 240071
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
