llvm-6502/lib
Juergen Ributzka 18db81a0ec [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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222168 91177308-0d34-0410-b5e6-96231b3b80d8
2014-11-17 19:39:56 +00:00
..
Analysis ScalarEvolution: Construct SCEVDivision's Derived type instead of itself 2014-11-17 11:27:45 +00:00
AsmParser X86: Implement the vectorcall calling convention 2014-10-28 01:29:26 +00:00
Bitcode Silence MSVC warning on missing return after fully covered switch 2014-11-13 23:07:22 +00:00
CodeGen Fix optimisations of SELECT_CC which assumed result is boolean 2014-11-17 10:49:31 +00:00
DebugInfo [dwarfdump] Handle relocations in Dwarf accelerator tables 2014-11-14 19:30:08 +00:00
ExecutionEngine Changing a StringRef::begin() call into StringRef::data(); NFC. 2014-11-12 19:43:13 +00:00
IR DIBuilder: Use Constant instead of Value 2014-11-15 00:23:49 +00:00
IRReader Remove unused variable. NFC. 2014-11-06 23:16:57 +00:00
LineEditor
Linker Revert "IR: MDNode => Value" 2014-11-11 21:30:22 +00:00
LTO libLTO: Assert if LTOCodeGenerator and LTOModule are from different contexts 2014-11-11 23:13:10 +00:00
MC COFF: Add support for Dwarf accelerator tables. 2014-11-14 20:33:40 +00:00
Object Object, COFF: Tighten the object file parser 2014-11-17 11:17:17 +00:00
Option Add an overload of getLastArgNoClaim taking two OptSpecifiers. 2014-09-12 19:42:53 +00:00
ProfileData llvm-cov: Sink some reporting logic into CoverageMapping 2014-11-14 01:50:32 +00:00
Support Fix ARM triple parsing 2014-11-17 14:08:57 +00:00
TableGen Eliminate some deep std::vector copies. NFC. 2014-10-03 18:33:16 +00:00
Target [X86] Use ADD/SUB instead of INC/DEC for Haswell and Broadwell CPUs 2014-11-17 16:17:51 +00:00
Transforms [SimplifyCFG] Make the value type of the hole check bitmask a power-of-2. 2014-11-17 19:39:56 +00:00
CMakeLists.txt
LLVMBuild.txt
Makefile