Skip to content

Commit 0548481

Browse files
committed
[InstCombine] Update and-or-icmps.ll after 574266c. NFC
1 parent 22089dc commit 0548481

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/test/Transforms/InstCombine/and-or-icmps.ll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3335,7 +3335,8 @@ define i1 @icmp_eq_or_z_or_pow2orz_fail_bad_pred2(i8 %x, i8 %y) {
33353335

33363336
define i1 @and_slt_to_mask(i8 %x) {
33373337
; CHECK-LABEL: @and_slt_to_mask(
3338-
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
3338+
; CHECK-NEXT: [[TMP1:%.*]] = and i8 [[X:%.*]], -2
3339+
; CHECK-NEXT: [[AND2:%.*]] = icmp eq i8 [[TMP1]], -128
33393340
; CHECK-NEXT: ret i1 [[AND2]]
33403341
;
33413342
%cmp = icmp slt i8 %x, -124

0 commit comments

Comments
 (0)