llvm-6502/lib
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
..
Analysis [PM] Actually add the new pass manager support for the assumption cache. 2015-01-22 21:53:09 +00:00
AsmParser AsmParser: PARSE_MD_FIELD() => ParseMDField(), NFC 2015-01-20 02:42:29 +00:00
Bitcode IR: DwarfNode => DebugNode, NFC 2015-01-22 22:47:44 +00:00
CodeGen Classify functions by EH personality type rather than using the triple 2015-01-23 18:49:01 +00:00
DebugInfo
ExecutionEngine
IR IR: Change GenericDwarfNode::getHeader() to StringRef 2015-01-22 23:10:55 +00:00
IRReader
LineEditor
Linker [llvm link] Destroy ConstantArrays in LLVMContext if they are not used. 2015-01-20 19:24:59 +00:00
LTO [PM] Separate the InstCombiner from its pass. 2015-01-20 22:44:35 +00:00
MC Add STB_GNU_UNIQUE to the ELF writer. 2015-01-23 04:44:35 +00:00
Object
Option
ProfileData
Support Adding a new cl::HideUnrelatedOptions API to allow clang to migrate off cl::getRegisteredOptions. 2015-01-21 22:45:52 +00:00
TableGen
Target Classify functions by EH personality type rather than using the triple 2015-01-23 18:49:01 +00:00
Transforms LowerSwitch: replace unreachable default with popular case destination 2015-01-23 20:43:51 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile