[llvm] 87c799a - Regenerate output for llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
Paul Walker via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 4 09:07:41 PDT 2024
Author: Paul Walker
Date: 2024-10-04T16:06:38Z
New Revision: 87c799af31e2a82801f4dbda83125a0265d8c216
URL: https://github.com/llvm/llvm-project/commit/87c799af31e2a82801f4dbda83125a0265d8c216
DIFF: https://github.com/llvm/llvm-project/commit/87c799af31e2a82801f4dbda83125a0265d8c216.diff
LOG: Regenerate output for llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
Added:
Modified:
llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll b/llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
index ba7826aaae7733..8380d5ca55cf29 100644
--- a/llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
+++ b/llvm/test/CodeGen/AArch64/sve-intrinsics-while.ll
@@ -81,7 +81,7 @@ define <vscale x 2 x i1> @whilele_d_xx(i64 %a, i64 %b) {
define <vscale x 2 x i1> @whilele_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
; CHECK-LABEL: whilele_d_ii_dont_fold_to_ptrue_larger_than_minvec:
; CHECK: // %bb.0:
-; CHECK-NEXT: mov w8, #3
+; CHECK-NEXT: mov w8, #3 // =0x3
; CHECK-NEXT: whilele p0.d, xzr, x8
; CHECK-NEXT: ret
%out = call <vscale x 2 x i1> @llvm.aarch64.sve.whilele.nxv2i1.i64(i64 0, i64 3)
@@ -90,21 +90,19 @@ define <vscale x 2 x i1> @whilele_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
define <vscale x 16 x i1> @whilele_b_ii() {
; CHECK-LABEL: whilele_b_ii:
-; CHECK: // %bb.0: // %entry
+; CHECK: // %bb.0:
; CHECK-NEXT: ptrue p0.b, vl6
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilele.nxv16i1.i64(i64 -2, i64 3)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilele_b_ii_dont_fold_to_ptrue_nonexistent_vl9() {
; CHECK-LABEL: whilele_b_ii_dont_fold_to_ptrue_nonexistent_vl9:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #9
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #9 // =0x9
; CHECK-NEXT: whilele p0.b, xzr, x8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilele.nxv16i1.i64(i64 0, i64 9)
ret <vscale x 16 x i1> %out
}
@@ -120,24 +118,22 @@ define <vscale x 16 x i1> @whilele_b_vl_maximum() vscale_range(16, 16) {
define <vscale x 16 x i1> @whilele_b_ii_dont_fold_to_ptrue_overflow() {
; CHECK-LABEL: whilele_b_ii_dont_fold_to_ptrue_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #2
-; CHECK-NEXT: mov w9, #2147483647
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #2 // =0x2
+; CHECK-NEXT: mov w9, #2147483647 // =0x7fffffff
; CHECK-NEXT: movk w8, #32768, lsl #16
; CHECK-NEXT: whilele p0.b, w9, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilele.nxv16i1.i32(i32 2147483647, i32 -2147483646)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilele_b_ii_dont_fold_to_ptrue_increment_overflow() {
; CHECK-LABEL: whilele_b_ii_dont_fold_to_ptrue_increment_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #2147483647
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #2147483647 // =0x7fffffff
; CHECK-NEXT: whilele p0.b, wzr, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilele.nxv16i1.i32(i32 0, i32 2147483647)
ret <vscale x 16 x i1> %out
}
@@ -221,7 +217,7 @@ define <vscale x 2 x i1> @whilelo_d_xx(i64 %a, i64 %b) {
define <vscale x 2 x i1> @whilelo_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
; CHECK-LABEL: whilelo_d_ii_dont_fold_to_ptrue_larger_than_minvec:
; CHECK: // %bb.0:
-; CHECK-NEXT: mov w8, #3
+; CHECK-NEXT: mov w8, #3 // =0x3
; CHECK-NEXT: whilelo p0.d, xzr, x8
; CHECK-NEXT: ret
%out = call <vscale x 2 x i1> @llvm.aarch64.sve.whilelo.nxv2i1.i64(i64 0, i64 3)
@@ -230,21 +226,19 @@ define <vscale x 2 x i1> @whilelo_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
define <vscale x 16 x i1> @whilelo_b_ii() {
; CHECK-LABEL: whilelo_b_ii:
-; CHECK: // %bb.0: // %entry
+; CHECK: // %bb.0:
; CHECK-NEXT: ptrue p0.b, vl6
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelo.nxv16i1.i64(i64 2, i64 8)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilelo_b_ii_dont_fold_to_ptrue_nonexistent_vl9() {
; CHECK-LABEL: whilelo_b_ii_dont_fold_to_ptrue_nonexistent_vl9:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #9
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #9 // =0x9
; CHECK-NEXT: whilelo p0.b, xzr, x8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelo.nxv16i1.i64(i64 0, i64 9)
ret <vscale x 16 x i1> %out
}
@@ -260,12 +254,11 @@ define <vscale x 16 x i1> @whilelo_b_vl_maximum() vscale_range(16, 16) {
define <vscale x 16 x i1> @whilelo_b_ii_dont_fold_to_ptrue_overflow() {
; CHECK-LABEL: whilelo_b_ii_dont_fold_to_ptrue_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #6
-; CHECK-NEXT: mov w9, #-1
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #6 // =0x6
+; CHECK-NEXT: mov w9, #-1 // =0xffffffff
; CHECK-NEXT: whilelo p0.b, w9, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelo.nxv16i1.i32(i32 4294967295, i32 6)
ret <vscale x 16 x i1> %out
}
@@ -349,7 +342,7 @@ define <vscale x 2 x i1> @whilels_d_xx(i64 %a, i64 %b) {
define <vscale x 2 x i1> @whilels_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
; CHECK-LABEL: whilels_d_ii_dont_fold_to_ptrue_larger_than_minvec:
; CHECK: // %bb.0:
-; CHECK-NEXT: mov w8, #3
+; CHECK-NEXT: mov w8, #3 // =0x3
; CHECK-NEXT: whilels p0.d, xzr, x8
; CHECK-NEXT: ret
%out = call <vscale x 2 x i1> @llvm.aarch64.sve.whilels.nxv2i1.i64(i64 0, i64 3)
@@ -358,21 +351,19 @@ define <vscale x 2 x i1> @whilels_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
define <vscale x 16 x i1> @whilels_b_ii() {
; CHECK-LABEL: whilels_b_ii:
-; CHECK: // %bb.0: // %entry
+; CHECK: // %bb.0:
; CHECK-NEXT: ptrue p0.b, vl7
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilels.nxv16i1.i64(i64 2, i64 8)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilels_b_ii_dont_fold_to_ptrue_nonexistent_vl9() {
; CHECK-LABEL: whilels_b_ii_dont_fold_to_ptrue_nonexistent_vl9:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #9
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #9 // =0x9
; CHECK-NEXT: whilels p0.b, xzr, x8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilels.nxv16i1.i64(i64 0, i64 9)
ret <vscale x 16 x i1> %out
}
@@ -388,23 +379,21 @@ define <vscale x 16 x i1> @whilels_b_ii_vl_maximum() vscale_range(16, 16) {
define <vscale x 16 x i1> @whilels_b_ii_dont_fold_to_ptrue_overflow() {
; CHECK-LABEL: whilels_b_ii_dont_fold_to_ptrue_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #6
-; CHECK-NEXT: mov w9, #-1
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #6 // =0x6
+; CHECK-NEXT: mov w9, #-1 // =0xffffffff
; CHECK-NEXT: whilels p0.b, w9, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilels.nxv16i1.i32(i32 4294967295, i32 6)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilels_b_ii_dont_fold_to_ptrue_increment_overflow() {
; CHECK-LABEL: whilels_b_ii_dont_fold_to_ptrue_increment_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #-1
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #-1 // =0xffffffff
; CHECK-NEXT: whilels p0.b, wzr, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilels.nxv16i1.i32(i32 0, i32 4294967295)
ret <vscale x 16 x i1> %out
}
@@ -488,7 +477,7 @@ define <vscale x 2 x i1> @whilelt_d_xx(i64 %a, i64 %b) {
define <vscale x 2 x i1> @whilelt_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
; CHECK-LABEL: whilelt_d_ii_dont_fold_to_ptrue_larger_than_minvec:
; CHECK: // %bb.0:
-; CHECK-NEXT: mov w8, #3
+; CHECK-NEXT: mov w8, #3 // =0x3
; CHECK-NEXT: whilelt p0.d, xzr, x8
; CHECK-NEXT: ret
%out = call <vscale x 2 x i1> @llvm.aarch64.sve.whilelt.nxv2i1.i64(i64 0, i64 3)
@@ -497,21 +486,19 @@ define <vscale x 2 x i1> @whilelt_d_ii_dont_fold_to_ptrue_larger_than_minvec() {
define <vscale x 16 x i1> @whilelt_b_ii() {
; CHECK-LABEL: whilelt_b_ii:
-; CHECK: // %bb.0: // %entry
+; CHECK: // %bb.0:
; CHECK-NEXT: ptrue p0.b, vl5
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelt.nxv16i1.i64(i64 -2, i64 3)
ret <vscale x 16 x i1> %out
}
define <vscale x 16 x i1> @whilelt_b_ii_dont_fold_to_ptrue_nonexistent_vl9() {
; CHECK-LABEL: whilelt_b_ii_dont_fold_to_ptrue_nonexistent_vl9:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #9
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #9 // =0x9
; CHECK-NEXT: whilelt p0.b, xzr, x8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelt.nxv16i1.i64(i64 0, i64 9)
ret <vscale x 16 x i1> %out
}
@@ -527,13 +514,12 @@ define <vscale x 16 x i1> @whilelt_b_ii_vl_maximum() vscale_range(16, 16) {
define <vscale x 16 x i1> @whilelt_b_ii_dont_fold_to_ptrue_overflow() {
; CHECK-LABEL: whilelt_b_ii_dont_fold_to_ptrue_overflow:
-; CHECK: // %bb.0: // %entry
-; CHECK-NEXT: mov w8, #2
-; CHECK-NEXT: mov w9, #2147483647
+; CHECK: // %bb.0:
+; CHECK-NEXT: mov w8, #2 // =0x2
+; CHECK-NEXT: mov w9, #2147483647 // =0x7fffffff
; CHECK-NEXT: movk w8, #32768, lsl #16
; CHECK-NEXT: whilelt p0.b, w9, w8
; CHECK-NEXT: ret
-entry:
%out = call <vscale x 16 x i1> @llvm.aarch64.sve.whilelt.nxv16i1.i32(i32 2147483647, i32 -2147483646)
ret <vscale x 16 x i1> %out
}
More information about the llvm-commits
mailing list