llvm-6502/lib/Transforms
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
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
InstCombine [PM] Rename InstCombine.h to InstCombineInternal.h in preparation for 2015-01-22 05:25:13 +00:00
Instrumentation [ASan/Win] Move the shadow to 0x30000000 2015-01-22 12:24:21 +00:00
IPO [PM] Lift the analyses into the interface for 2015-01-19 03:03:39 +00:00
ObjCARC IR: Split Metadata from Value 2014-12-09 18:38:53 +00:00
Scalar [NFC] Introduce a 'struct Range' for IRCE 2015-01-22 09:32:02 +00:00
Utils LowerSwitch: replace unreachable default with popular case destination 2015-01-23 20:43:51 +00:00
Vectorize Silencing a -Wsign-compare warning (all uses of this constant are within unsigned expressions anyway); NFC. 2015-01-22 13:57:41 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile