llvm-6502/test/Transforms/LowerSwitch
Hans Wennborg 01e223e92e 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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@226934 91177308-0d34-0410-b5e6-96231b3b80d8
2015-01-23 20:43:51 +00:00
..
2003-05-01-PHIProblem.ll
2003-08-23-EmptySwitch.ll
2004-03-13-SwitchIsDefaultCrash.ll
2014-06-10-SwitchContiguousOpt.ll LowerSwitch: track bounding range for the condition tree. 2014-06-16 16:55:20 +00:00
2014-06-11-SwitchDefaultUnreachableOpt.ll LowerSwitch: replace unreachable default with popular case destination 2015-01-23 20:43:51 +00:00
2014-06-23-PHIlowering.ll Added test for commit r212802 that was missing 2014-07-11 10:36:00 +00:00
feature.ll LowerSwitch: track bounding range for the condition tree. 2014-06-16 16:55:20 +00:00
fold-popular-case-to-unreachable-default.ll LowerSwitch: replace unreachable default with popular case destination 2015-01-23 20:43:51 +00:00