diff options
author | Hans Wennborg <hans@hanshq.net> | 2014-12-01 17:08:32 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2014-12-01 17:08:32 +0000 |
commit | 1571336fb2ef5e6da5536ef7e1b76c4233e18081 (patch) | |
tree | e99c25784639760c7f6ac31ff5cc92cae6421611 /llvm/lib/Target/ARM | |
parent | bfe25b268e9ec1da64cb9b9eb80738f3a196a5b1 (diff) | |
download | bcm5719-llvm-1571336fb2ef5e6da5536ef7e1b76c4233e18081.tar.gz bcm5719-llvm-1571336fb2ef5e6da5536ef7e1b76c4233e18081.zip |
SelectionDAG switch lowering: Replace unreachable default with most popular case.
This can significantly reduce the size of the switch, allowing for more
efficient lowering.
I also worked with the idea of exploiting unreachable defaults by
omitting the range check for jump tables, but always ended up with a
non-neglible binary size increase. It might be worth looking into some more.
llvm-svn: 223049
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions