[PATCH] Expand SimplifyCFG to convert certain simple switches to selects
Marcello Maggioni
hayarms at gmail.com
Thu Jun 19 18:50:38 PDT 2014
Modified to move some work into helper functions to improve readability
http://reviews.llvm.org/D4219
Files:
lib/Transforms/Utils/SimplifyCFG.cpp
test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectBitPattern.ll
test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectRange.ll
test/Transforms/SimplifyCFG/2014-06-19-SwitchToSelectTwoCase.ll
test/Transforms/SimplifyCFG/UnreachableEliminate.ll
test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4219.10673.patch
Type: text/x-patch
Size: 21796 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/52a6be3a/attachment.bin>
More information about the llvm-commits
mailing list