[PATCH] D141829: Reapply [AArch64] fold subs ugt/ult to ands when the second operand is mask/pow2

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 21:56:04 PST 2023


bcl5980 added a comment.

In D141829#4061077 <https://reviews.llvm.org/D141829#4061077>, @chapuni wrote:

> btw, was it not handled by instcombine?

Not handled by instcombine is because AArch64 has tst instruction that instcombine need two instruction to do that.


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

https://reviews.llvm.org/D141829



More information about the llvm-commits mailing list