[llvm] [X86] Use BMM for bitreverse without GFNI (PR #209223)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 14 05:49:14 PDT 2026


ganeshgit wrote:

> thanks! sorry for the back and forth :D

Thanks for opening this PR. There is CTLZ(x) = CTTZ(BITREVERSE(x)) gap with bmm. Also, scalar bitreverse i8 is not using bitrevb when we have bmm. I will tackle these separately.

https://github.com/llvm/llvm-project/pull/209223


More information about the llvm-commits mailing list