llvm-project/llvm/test
Ayonam Ray 6025fa8e30 [CodeGen] Omit range checks from jump tables when lowering switches with unreachable default
During the lowering of a switch that would result in the generation of a
jump table, a range check is performed before indexing into the jump
table, for the switch value being outside the jump table range and a
conditional branch is inserted to jump to the default block. In case the
default block is unreachable, this conditional jump can be omitted. This
patch implements omitting this conditional branch for unreachable
defaults.

Differential Revision: https://reviews.llvm.org/D52002
Reviewers: Hans Wennborg, Eli Freidman, Roman Lebedev

llvm-svn: 355483
2019-03-06 07:27:45 +00:00
..
Analysis [SCEV] Handle case where MaxBECount is less precise than ExactBECount for OR. 2019-03-02 02:31:44 +00:00
Assembler Move some llvm-mc tests where they belong 2019-02-05 20:12:48 +00:00
Bindings [LLVM-C] Add Bindings to GlobalIFunc 2019-02-05 18:05:44 +00:00
Bitcode Fix auto-upgrade for the new parameter to llvm.objectsize 2019-02-12 21:55:38 +00:00
BugPoint
CodeGen [CodeGen] Omit range checks from jump tables when lowering switches with unreachable default 2019-03-06 07:27:45 +00:00
DebugInfo [WebAssembly] Remove trailing whitespaces in tests (NFC) 2019-03-06 02:00:22 +00:00
Demangle
Examples Fix a think-o in the disable-kaleidoscope-tests-on-windows predicate of r354646. 2019-02-22 03:56:50 +00:00
ExecutionEngine
Feature
FileCheck Fixup test on Windows with a case-insensitive filesystem due to path printing changes from r352704. 2019-02-05 23:27:38 +00:00
Instrumentation Fix invalid target triples in tests. (NFC) 2019-03-04 23:37:41 +00:00
Integer
JitListener
LTO
Linker
MC [WebAssembly] Remove trailing whitespaces in tests (NFC) 2019-03-06 02:00:22 +00:00
MachineVerifier GlobalISel: Verify g_insert 2019-02-19 16:10:16 +00:00
Object [llvm-readobj] Display section names for STT_SECTION symbols. 2019-03-01 17:31:32 +00:00
ObjectYAML [WebAssembly] Update MC for bulk memory 2019-02-19 22:56:19 +00:00
Other [HotColdSplit] Schedule splitting late to fix perf regression 2019-02-15 18:46:44 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen TableGen: Allow lists to be concatenated through '#' 2019-03-05 17:16:07 +00:00
ThinLTO/X86 [ThinLTO] Use defined node and edge order when dumping DOT file 2019-02-26 07:38:21 +00:00
Transforms Revert "[AtomicExpand] Allow libcall expansion for non-zero address spaces" for buildbot failures. 2019-03-06 00:25:40 +00:00
Unit
Verifier [llvm] Fix typo: 's/ ot / to /' [NFC] 2019-02-21 20:04:20 +00:00
YAMLParser
tools [BinaryFormat] Add DT_USED tag into dynamic section. 2019-03-06 01:28:40 +00:00
.clang-format
CMakeLists.txt [Kaleidoscope] Re-enable Kaleidoscope tests. 2019-02-21 22:24:53 +00:00
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in [Kaleidoscope] Re-enable Kaleidoscope tests. 2019-02-21 22:24:53 +00:00