1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-21 03:53:04 +02:00
llvm-mirror/test/Transforms/LowerSwitch
Hans Wennborg c2c8ff3fab 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
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
feature.ll
fold-popular-case-to-unreachable-default.ll LowerSwitch: replace unreachable default with popular case destination 2015-01-23 20:43:51 +00:00