[PATCH] SimplifyCFG: don't remove unreachable defaults from switch instructions; exploit them instead!
Hans Wennborg
hans at chromium.org
Mon Jan 26 11:54:10 PST 2015
REPOSITORY
rL LLVM
http://reviews.llvm.org/D6471
Files:
llvm/trunk/lib/Transforms/Utils/SimplifyCFG.cpp
llvm/trunk/test/Transforms/SimplifyCFG/UnreachableEliminate.ll
llvm/trunk/test/Transforms/SimplifyCFG/X86/switch_to_lookup_table.ll
llvm/trunk/test/Transforms/SimplifyCFG/switch-range-to-icmp.ll
llvm/trunk/test/Transforms/SimplifyCFG/switch-to-select-two-case.ll
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6471.18779.patch
Type: text/x-patch
Size: 13909 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150126/5a3bac72/attachment.bin>
More information about the llvm-commits
mailing list