[PATCH] D23134: Make cltz and cttz zero undef when the operand cannot be zero in InstCombine
Amaury SECHET via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 4 22:16:36 PDT 2016
deadalnix added a comment.
@spatel , the undef version lead to much better codegen on X86 at least, because bsf/bsr instruction are undefined when the operand is 0.
https://reviews.llvm.org/D23134
More information about the llvm-commits
mailing list