[PATCH] D12249: Remove the final bit test during lowering switch statement if all cases in bit test cover a contiguous range.
Cong Hou via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 13:31:56 PDT 2015
congh updated this revision to Diff 33113.
congh added a comment.
Add two test cases on which the optimization in this patch won't be done.
http://reviews.llvm.org/D12249
Files:
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
test/CodeGen/X86/switch.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12249.33113.patch
Type: text/x-patch
Size: 8187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150825/9187dac4/attachment.bin>
More information about the llvm-commits
mailing list