[PATCH] D61840: [SimplifyCFG] ReduceSwitchRange: use the smallest result type possible.
Shawn Landden via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun May 12 16:56:00 PDT 2019
shawnl created this revision.
shawnl added a reviewer: jmolloy.
Herald added subscribers: llvm-commits, javed.absar.
Herald added a project: LLVM.
I am trying to move towards much more space-efficient switch statements, using popcnt, as described in PR39013. This is the patch 6 towards that goal, and a continuation of D60673 <https://reviews.llvm.org/D60673>.
Repository:
rL LLVM
https://reviews.llvm.org/D61840
Files:
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/ARM/switch-to-lookup-table.ll
test/Transforms/SimplifyCFG/X86/switch-covered-bug.ll
test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
test/Transforms/SimplifyCFG/rangereduce.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61840.199193.patch
Type: text/x-patch
Size: 32470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190512/31fe7382/attachment.bin>
More information about the llvm-commits
mailing list