[PATCH] D35579: [SimplifyCFG] Generate lookup tables based on a function attribute
Sumanth Gundapaneni via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 27 12:50:09 PDT 2017
sgundapa updated this revision to Diff 108516.
sgundapa edited the summary of this revision.
sgundapa added a comment.
We have decided to have this feature under "-fno-jump-tables" clang flag.
To this affect, this patch updates the code to control the generation of
lookup tables based on the attribute "no-jump-tables"
https://reviews.llvm.org/D35579
Files:
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/Hexagon/disable-lookup-table.ll
test/Transforms/SimplifyCFG/disable-lookup-table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35579.108516.patch
Type: text/x-patch
Size: 4452 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170727/e77d84b8/attachment.bin>
More information about the llvm-commits
mailing list