paulwalker-arm added a comment. Which sounds like mirroring cttz's second operand is useful then because you can omit the need for the extra compare? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159283/new/ https://reviews.llvm.org/D159283