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