Skip to content

Commit 632022e

Browse files
committed
[AArch64] aarch64-saturating-arithmetic.ll - refresh test missed in #67890
1 parent 9103b1d commit 632022e

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,7 @@ define i64 @test_ssub_nonneg_lhs(i64 %x) {
6161
define i64 @test_ssub_neg_lhs(i64 %x) {
6262
; CHECK-LABEL: test_ssub_neg_lhs:
6363
; CHECK: // %bb.0:
64-
; CHECK-NEXT: mov x8, #-1 // =0xffffffffffffffff
65-
; CHECK-NEXT: mov x9, #-9223372036854775808 // =0x8000000000000000
66-
; CHECK-NEXT: subs x8, x8, x0
67-
; CHECK-NEXT: csel x0, x9, x8, vs
64+
; CHECK-NEXT: mvn x0, x0
6865
; CHECK-NEXT: ret
6966
%sat = call i64 @llvm.ssub.sat.i64(i64 -1, i64 %x)
7067
ret i64 %sat

0 commit comments

Comments
 (0)