[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE / ptest-diagnostics.s
blob5d9cc80efbd20cc29f1b9c4ef8aac88f46d8123a
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
4 // ------------------------------------------------------------------------- //
5 // Invalid predicate
7 ptest p15, p15.h
8 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
9 // CHECK-NEXT: ptest p15, p15.h
10 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
12 ptest p15.b, p15.b
13 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
14 // CHECK-NEXT: ptest p15.b, p15.b
15 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
17 ptest p15.q, p15.b
18 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
19 // CHECK-NEXT: ptest p15.q, p15.b
20 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: