[PATCH] D159283: Add intrinsic to count trailing zero elements in a vector

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 1 10:04:49 PDT 2023


craig.topper added a comment.

In D159283#4634754 <https://reviews.llvm.org/D159283#4634754>, @paulwalker-arm wrote:

> Which sounds like mirroring cttz's second operand is useful then because you can omit the need for the extra compare?

Yes. I think I'm missing when the bit will be set. Does D158291 <https://reviews.llvm.org/D158291> intend to set the zero is poison bit?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D159283/new/

https://reviews.llvm.org/D159283



More information about the llvm-commits mailing list