[PATCH] D12249: Remove the final bit test during lowering switch statement if all cases in bit test cover a contiguous range.
Hans Wennborg via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 25 13:40:10 PDT 2015
hans accepted this revision.
hans added a comment.
This revision is now accepted and ready to land.
Thanks! lgtm
================
Comment at: test/CodeGen/X86/switch.ll:145
@@ +144,3 @@
+ i32 8, label %bb2
+
+ ]
----------------
nit: The newline seems unnecessary here. I guess it was just copied from line 110, so maybe remote it there too? Also in bt_is_better3.
http://reviews.llvm.org/D12249
More information about the llvm-commits
mailing list