[llvm] 632022e - [AArch64] aarch64-saturating-arithmetic.ll - refresh test missed in #67890
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Oct 1 07:39:29 PDT 2023
Author: Simon Pilgrim
Date: 2023-10-01T15:39:24+01:00
New Revision: 632022e61c544280685763333685b4743f105f2e
URL: https://github.com/llvm/llvm-project/commit/632022e61c544280685763333685b4743f105f2e
DIFF: https://github.com/llvm/llvm-project/commit/632022e61c544280685763333685b4743f105f2e.diff
LOG: [AArch64] aarch64-saturating-arithmetic.ll - refresh test missed in #67890
Added:
Modified:
llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll b/llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll
index 06cb13429b57321..db79b672d6f034f 100644
--- a/llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll
+++ b/llvm/test/CodeGen/AArch64/aarch64-saturating-arithmetic.ll
@@ -61,10 +61,7 @@ define i64 @test_ssub_nonneg_lhs(i64 %x) {
define i64 @test_ssub_neg_lhs(i64 %x) {
; CHECK-LABEL: test_ssub_neg_lhs:
; CHECK: // %bb.0:
-; CHECK-NEXT: mov x8, #-1 // =0xffffffffffffffff
-; CHECK-NEXT: mov x9, #-9223372036854775808 // =0x8000000000000000
-; CHECK-NEXT: subs x8, x8, x0
-; CHECK-NEXT: csel x0, x9, x8, vs
+; CHECK-NEXT: mvn x0, x0
; CHECK-NEXT: ret
%sat = call i64 @llvm.ssub.sat.i64(i64 -1, i64 %x)
ret i64 %sat
More information about the llvm-commits
mailing list