]> granicus.if.org Git - llvm/commit
[Hexagon] Guard the generation of lookup table
authorSumanth Gundapaneni <sgundapa@codeaurora.org>
Fri, 30 Jun 2017 20:10:28 +0000 (20:10 +0000)
committerSumanth Gundapaneni <sgundapa@codeaurora.org>
Fri, 30 Jun 2017 20:10:28 +0000 (20:10 +0000)
commitae521f4192c3ed0202c047fec993cb59133dd1a0
treebc1a7b5d7396357355ed193342ab4cb09f1796c4
parentecea903af0b24c02131785a74a50e2e82ce7c073
[Hexagon] Guard the generation of lookup table

The llvm flag "-hexagon-emit-lookup-tables" guards the generation
of lookup table from a switch statement.

Differential Revision: https://reviews.llvm.org/D34819

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@306869 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Hexagon/HexagonTargetObjectFile.cpp
lib/Target/Hexagon/HexagonTargetObjectFile.h
test/CodeGen/Hexagon/jt-in-text.ll [new file with mode: 0644]