[PATCH] D23134: Make cltz and cttz zero undef when the operand cannot be zero in InstCombine

Sanjay Patel via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 4 16:33:26 PDT 2016


spatel added inline comments.

================
Comment at: test/Transforms/InstCombine/intrinsics.ll:383
@@ +382,3 @@
+define i32 @ctlz_make_undef(i32 %a) {
+entry:
+  %or = or i32 %a, 8
----------------
spatel wrote:
> You can remove the label to reuce the test and the CHECKs.
typo:
"reuce" -> "reduce"


https://reviews.llvm.org/D23134





More information about the llvm-commits mailing list