summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2014-12-01 17:08:35 +0000
committerHans Wennborg <hans@hanshq.net>2014-12-01 17:08:35 +0000
commit5a1e5c05d82073f03ea2dee3ab1f0ad614823896 (patch)
tree169bc58057fa4b178c212789318ccb64a8ec5b4e /llvm/lib/Target/ARM
parent1571336fb2ef5e6da5536ef7e1b76c4233e18081 (diff)
downloadbcm5719-llvm-5a1e5c05d82073f03ea2dee3ab1f0ad614823896.tar.gz
bcm5719-llvm-5a1e5c05d82073f03ea2dee3ab1f0ad614823896.zip
SimplifyCFG: don't remove unreachable default switch destinations
An unreachable default destination can be exploited by other optimizations, and SDag lowering is now prepared to handle them efficiently. For example, branches to the unreachable destination will be optimized away, such as in the case of range checks for switch lookup tables. On 64-bit Linux, this reduces the size of a clang bootstrap by 80 kB (and Chromium by 30 kB). llvm-svn: 223050
Diffstat (limited to 'llvm/lib/Target/ARM')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud