// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve 2>&1 < %s| FileCheck %s
// --------------------------------------------------------------------------//
// Invalid pattern name
// --------------------------------------------------------------------------//
ptrues p0.s, vl512
// CHECK: :{{+}}: error: invalid operand
// CHECK-NEXT: ptrues p0.s, vl512
// CHECK-NOT: :{{+}}:
ptrues p0.s, vl9
// CHECK: :{{+}}: error: invalid operand
// CHECK-NEXT: ptrues p0.s, vl9
// CHECK-NOT: :{{+}}:
// --------------------------------------------------------------------------//
// Invalid immediate range
// --------------------------------------------------------------------------//
ptrues p0.s, #-1
// CHECK: :{{+}}: error: invalid predicate pattern
// CHECK-NEXT: ptrues p0.s, #-1
// CHECK-NOT: :{{+}}:
ptrues p0.s, #32
// CHECK: :{{+}}: error: invalid predicate pattern
// CHECK-NEXT: ptrues p0.s, #32
// CHECK-NOT: :{{+}}: