Skip to content

Commit

Permalink
[InstCombine] Update and-or-icmps.ll after 574266c. NFC
Browse files Browse the repository at this point in the history
  • Loading branch information
davemgreen committed Oct 5, 2024
1 parent 22089dc commit 0548481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/test/Transforms/InstCombine/and-or-icmps.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3335,7 +3335,8 @@ define i1 @icmp_eq_or_z_or_pow2orz_fail_bad_pred2(i8 %x, i8 %y) {

define i1 @and_slt_to_mask(i8 %x) {
; CHECK-LABEL: @and_slt_to_mask(
; CHECK-NEXT: [[AND2:%.*]] = icmp slt i8 [[X:%.*]], -126
; CHECK-NEXT: [[TMP1:%.*]] = and i8 [[X:%.*]], -2
; CHECK-NEXT: [[AND2:%.*]] = icmp eq i8 [[TMP1]], -128
; CHECK-NEXT: ret i1 [[AND2]]
;
%cmp = icmp slt i8 %x, -124
Expand Down

0 comments on commit 0548481

Please sign in to comment.