llvm-project/llvm/test/Transforms/LowerSwitch
Hans Wennborg ae9c971a2f 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
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