Revert "[AArch64] fold subs ugt/ult to ands when the second operand is a mask"
authorchenglin.bi <chenglin.bi@linaro.org>
Tue, 17 Jan 2023 10:40:35 +0000 (18:40 +0800)
committerchenglin.bi <chenglin.bi@linaro.org>
Tue, 17 Jan 2023 10:41:44 +0000 (18:41 +0800)
commit6c37fbdfcf2550c5de8b7e1a434c0db1273e906b
treec53a5e881cc2ccbe4d95d8e347d65a3e3a3d36d7
parentbba9221d9ffedd523de37f816c417562e2dd0ddb
Revert "[AArch64] fold subs ugt/ult to ands when the second operand is a mask"

This reverts commit 4a64024c1410692197e4b54e27e7b269a67c78f4.

The original commit made a misstake that ugt reverse should be ule
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/test/CodeGen/AArch64/andcompare.ll