Reapply [AArch64] fold subs ugt/ult to ands when the second operand is mask/pow2
Origianl patch made a mistake that ugt is reverse cc should be ule. And ule < C will be generalize to ult < C + 1. So the new patch add support for ult < Pow2 case. https://alive2.llvm.org/ce/z/naBw5A Reviewed By: samtebbs, chapuni Differential Revision: https://reviews.llvm.org/D141829
Loading
Please sign in to comment