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

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 15 03:40:04 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
----------------
nikic wrote:

Adjust the comment above saying "negative test - extra use". It's no longer a negative test.

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


More information about the llvm-commits mailing list