summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CommandGuide/llvm-symbolizer.rst
diff options
context:
space:
mode:
authorAyonam Ray <ayonam@rrlogic.co.in>2019-03-06 07:27:45 +0000
committerAyonam Ray <ayonam@rrlogic.co.in>2019-03-06 07:27:45 +0000
commit6025fa8e30071730b3239b322cdf64b680eb3aa9 (patch)
tree80afd3acede2bfb81c3d659e109611b1b30af3f4 /llvm/docs/CommandGuide/llvm-symbolizer.rst
parenta75c4df5242fb5b0b2d69b459533f3067aeecfe9 (diff)
downloadbcm5719-llvm-6025fa8e30071730b3239b322cdf64b680eb3aa9.tar.gz
bcm5719-llvm-6025fa8e30071730b3239b322cdf64b680eb3aa9.zip
[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
Diffstat (limited to 'llvm/docs/CommandGuide/llvm-symbolizer.rst')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud