[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE / addvl-diagnostics.s
blob6c04176d0bd1b929aa4c4830e3c086d78959e8fe
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
3 // Immediate out of upper bound [-32, 31].
4 addvl x3, x5, #32
5 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
6 // CHECK-NEXT: addvl x3, x5, #32
7 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
9 // addvl requires an immediate, not a register.
10 addvl x3, x5, x6
11 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
12 // CHECK-NEXT: addvl x3, x5, x6
13 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: