// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
// Immediate out of upper bound .
addvl x3, x5, #32
// CHECK: :{{+}}: error: index must be an integer in range .
// CHECK-NEXT: addvl x3, x5, #32
// CHECK-NOT: :{{+}}:
// addvl requires an immediate, not a register.
addvl x3, x5, x6
// CHECK: :{{+}}: error: index must be an integer in range .
// CHECK-NEXT: addvl x3, x5, x6
// CHECK-NOT: :{{+}}: