Skip to content

Commit 6a1e638

Browse files
committed
fixup! [AArch64][llvm] Armv9.7-A: Add support for SVE2p3 CVT operations
Adjust testcases for movprfx
1 parent e942b9e commit 6a1e638

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

llvm/test/MC/AArch64/SVE2p3/cvt-diagnostics.s

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ fcvtzsn z0.b, { z1.h, z2.h }
2727
// Negative tests for instructions that are incompatible with movprfx
2828

2929
movprfx z0, z7
30-
fcvtzsn z0.b, { z0.h, z1.h }
30+
fcvtzsn z0.b, { z2.h, z3.h }
3131
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
32-
// CHECK-NEXT: fcvtzsn z0.b, { z0.h, z1.h }
32+
// CHECK-NEXT: fcvtzsn z0.b, { z2.h, z3.h }
3333
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
3434

3535
// --------------------------------------------------------------------------//
@@ -59,9 +59,9 @@ fcvtzun z0.b, { z1.h, z2.h }
5959
// Negative tests for instructions that are incompatible with movprfx
6060

6161
movprfx z0, z7
62-
fcvtzun z0.b, { z0.h, z1.h }
62+
fcvtzun z0.b, { z2.h, z3.h }
6363
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
64-
// CHECK-NEXT: fcvtzun z0.b, { z0.h, z1.h }
64+
// CHECK-NEXT: fcvtzun z0.b, { z2.h, z3.h }
6565
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
6666

6767
// --------------------------------------------------------------------------//
@@ -91,9 +91,9 @@ scvtf z0.d, z0.d
9191
// Negative tests for instructions that are incompatible with movprfx
9292

9393
movprfx z0, z7
94-
scvtf z0.h, z0.b
94+
scvtf z0.h, z1.b
9595
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
96-
// CHECK-NEXT: scvtf z0.h, z0.b
96+
// CHECK-NEXT: scvtf z0.h, z1.b
9797
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
9898

9999
// --------------------------------------------------------------------------//
@@ -123,9 +123,9 @@ scvtflt z0.d, z0.d
123123
// Negative tests for instructions that are incompatible with movprfx
124124

125125
movprfx z0, z7
126-
scvtflt z0.h, z0.b
126+
scvtflt z0.h, z1.b
127127
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
128-
// CHECK-NEXT: scvtflt z0.h, z0.b
128+
// CHECK-NEXT: scvtflt z0.h, z1.b
129129
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
130130

131131
// --------------------------------------------------------------------------//
@@ -155,9 +155,9 @@ ucvtf z0.d, z0.d
155155
// Negative tests for instructions that are incompatible with movprfx
156156

157157
movprfx z0, z7
158-
ucvtf z0.h, z0.b
158+
ucvtf z0.h, z1.b
159159
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
160-
// CHECK-NEXT: ucvtf z0.h, z0.b
160+
// CHECK-NEXT: ucvtf z0.h, z1.b
161161
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
162162

163163
// --------------------------------------------------------------------------//
@@ -187,7 +187,7 @@ ucvtflt z0.d, z0.d
187187
// Negative tests for instructions that are incompatible with movprfx
188188

189189
movprfx z0, z7
190-
ucvtflt z0.h, z0.b
190+
ucvtflt z0.h, z1.b
191191
// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a movprfx, suggest replacing movprfx with mov
192-
// CHECK-NEXT: ucvtflt z0.h, z0.b
192+
// CHECK-NEXT: ucvtflt z0.h, z1.b
193193
// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:

0 commit comments

Comments
 (0)