[PATCH] D12249: Remove the final bit test during lowering switch statement if all cases in bit test cover a contiguous range.

David Li via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 21 16:17:01 PDT 2015


davidxl added a comment.

If subtraction is always done (when it is contiguous), it is always a win? There are cases the last test is rarely taken.


http://reviews.llvm.org/D12249





More information about the llvm-commits mailing list