This patch implements a for a target specific optimization on top of https://reviews.llvm.org/D113291 that replaces the cmp and csel with an and
Related submission and comments: https://reviews.llvm.org/D120462
Original issue: https://github.com/llvm/llvm-project/issues/45779
I think AND is now unused.