summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2015-01-23 20:43:51 +0000
committerHans Wennborg <hans@hanshq.net>2015-01-23 20:43:51 +0000
commitae9c971a2f71cc47400466162e41e6b3a1393fd0 (patch)
tree369b80e26106a3b524c550d60e719ee90e2e2505 /llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp
parent7ed92fbbe84f0067a5f239b1e8376dfcf6bfdc98 (diff)
downloadbcm5719-llvm-ae9c971a2f71cc47400466162e41e6b3a1393fd0.tar.gz
bcm5719-llvm-ae9c971a2f71cc47400466162e41e6b3a1393fd0.zip
LowerSwitch: replace unreachable default with popular case destination
SimplifyCFG currently does this transformation, but I'm planning to remove that to allow other passes, such as this one, to exploit the unreachable default. This patch takes care to keep track of what case values are unreachable even after the transformation, allowing for more efficient lowering. Differential Revision: http://reviews.llvm.org/D6697 llvm-svn: 226934
Diffstat (limited to 'llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud