OSDN Git Service

[SimplifyCFG] Make the no-jump-tables attribute also disable switch lookup tables
authorSumanth Gundapaneni <sgundapa@codeaurora.org>
Fri, 28 Jul 2017 22:25:40 +0000 (22:25 +0000)
committerSumanth Gundapaneni <sgundapa@codeaurora.org>
Fri, 28 Jul 2017 22:25:40 +0000 (22:25 +0000)
commit0857e7fe7bd21c8ae87113763f3b3788b47996a8
tree1d27cf2c0d9cda3aa616abd5274f40c06b21a78e
parentdfa17126d8e8fa6921ca5e1a556baae51e0f28fa
[SimplifyCFG] Make the no-jump-tables attribute also disable switch lookup tables

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309444 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/Hexagon/disable-lookup-table.ll [new file with mode: 0644]
test/Transforms/SimplifyCFG/disable-lookup-table.ll [new file with mode: 0644]