[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / AArch64 / SVE / punpkhi-diagnostics.s
blobb797e5a11f134214f72e2ed69d632b385b765e32
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
4 // ------------------------------------------------------------------------- //
5 // Invalid element widths.
7 punpkhi p0.b, p0.b
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
9 // CHECK-NEXT: punpkhi p0.b, p0.b
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
12 punpkhi p0.s, p0.h
13 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
14 // CHECK-NEXT: punpkhi p0.s, p0.h
15 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: