commit | 301f71ecd12264b3cf6254d88d0686fc9303940d | [log] [tgz] |
---|---|---|
author | Evandro Menezes <e.menezes@samsung.com> | Tue Oct 25 19:11:43 2016 +0000 |
committer | Evandro Menezes <e.menezes@samsung.com> | Tue Oct 25 19:11:43 2016 +0000 |
tree | 26677b945115ffb847804c989bef81d8e84eedea | |
parent | da24afa31cdf7fe71e924861ac088fdfc8763608 [diff] |
Switch lowering: improve partitioning of jump tables When there's a tie between partitionings of jump tables, consider also cases that result in no jump tables, but in one or a few cases. The motivation is that many contemporary processors typically perform case switches fairly quickly. Differential revision: https://reviews.llvm.org/D25212 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285099 91177308-0d34-0410-b5e6-96231b3b80d8