Files
archived-llvm/test/CodeGen/AArch64
Ayonam Ray 62fa6d90b1 [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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355490 91177308-0d34-0410-b5e6-96231b3b80d8
2019-03-06 10:01:02 +00:00
..
2017-06-01 14:24:31 +00:00
2015-02-13 10:48:30 +00:00
2016-10-26 18:49:16 +00:00
2018-08-02 01:54:12 +00:00
2016-10-18 20:41:30 +00:00
2018-02-26 23:19:25 +00:00
2017-05-23 06:08:37 +00:00
2016-05-26 12:42:55 +00:00
2018-07-11 10:39:50 +00:00
2018-02-26 23:19:25 +00:00
2018-02-16 20:00:57 +00:00