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