[llvm] Fix Failure to fold (and %x, (sext i1 %m)) -> (select %m, %x, 0) with multiple uses of %m Resolve #81288 (PR #81409)

via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 22:03:08 PST 2024


================
@@ -1818,7 +1818,7 @@ define i8 @not_ashr_bitwidth_mask_use2(i8 %x, i8 %y) {
 ; CHECK-NEXT:    [[ISNOTNEG:%.*]] = icmp sgt i8 [[X:%.*]], -1
----------------
SahilPatidar wrote:

Let me know if it is not correct?

https://github.com/llvm/llvm-project/pull/81409


More information about the llvm-commits mailing list