llvm-project/llvm/lib/Transforms
Juergen Ributzka c9591e9bdb [SimplifyCFG] Make the value type of the hole check bitmask a power-of-2.
When converting a switch to a lookup table we might have to generate a bitmaks
to encode and check for holes in the original switch statement.

The type of this mask depends on the number of switch statements, which can
result in illegal types for pretty much all architectures.

To avoid unnecessary type legalization and help FastISel this commit increases
the size of the bitmask to next power-of-2 value when necessary.

This fixes rdar://problem/18984639.

llvm-svn: 222168
2014-11-17 19:39:56 +00:00
..
Hello [CMake] Add LLVM_LINK_COMPONENTS to loadable modules, LLVMHello and BugpointPasses, on Win32. 2014-07-13 13:36:48 +00:00
IPO Reformat partially, where I touched for whitespace changes. 2014-10-28 11:54:52 +00:00
InstCombine InstCombine: Fix infinite loop caused by visitFPTrunc 2014-11-14 21:21:15 +00:00
Instrumentation Fix 80 cols caught by the linter... 2014-11-14 00:41:42 +00:00
ObjCARC Add back r222061 with a fix. 2014-11-17 02:28:27 +00:00
Scalar [Reassociate] As the expression tree is rewritten make sure the operands are 2014-11-17 16:33:50 +00:00
Utils [SimplifyCFG] Make the value type of the hole check bitmask a power-of-2. 2014-11-17 19:39:56 +00:00
Vectorize IR: Make MDString::getName() private 2014-11-13 23:59:16 +00:00
CMakeLists.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
LLVMBuild.txt Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00
Makefile Extracted ObjCARC.cpp into its own library libLLVMObjCARCOpts in preparation for refactoring the ARC Optimizer. 2013-01-28 01:35:51 +00:00