[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / fcvt-diagnostics.s
blob8b9d7df15b5c584eee165af466a20682db585474
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
3 fcvt z0.h, p0/m, z0.h
4 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
5 // CHECK-NEXT: fcvt z0.h, p0/m, z0.h
6 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
8 fcvt z0.s, p0/m, z0.s
9 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
10 // CHECK-NEXT: fcvt z0.s, p0/m, z0.s
11 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
13 fcvt z0.d, p0/m, z0.d
14 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid element width
15 // CHECK-NEXT: fcvt z0.d, p0/m, z0.d
16 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
19 // --------------------------------------------------------------------------//
20 // error: invalid restricted predicate register, expected p0..p7 (without element suffix)
22 fcvt z0.h, p8/m, z0.s
23 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid restricted predicate register, expected p0..p7 (without element suffix)
24 // CHECK-NEXT: fcvt z0.h, p8/m, z0.s
25 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: