commit | 5caacef5c1cbd8c710908b2213677311247b7d9f | [log] [tgz] |
---|---|---|
author | Hans Wennborg <hans@hanshq.net> | Thu Jun 18 22:22:30 2015 +0000 |
committer | Hans Wennborg <hans@hanshq.net> | Thu Jun 18 22:22:30 2015 +0000 |
tree | 93af629debe5f5f4803e148e4120a0415967cbdd | |
parent | 50cef0052f054115c727c9133d307ae31c8478fa [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240071 91177308-0d34-0410-b5e6-96231b3b80d8