Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / SME / rdsvl-diagnostics.s
blob0ea7d9beaef3bc2cbf56624c85c03e0f899b2039
1 // RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme 2>&1 < %s| FileCheck %s
3 // Immediate out of upper bound [-32, 31].
4 rdsvl x9, #32
5 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
6 // CHECK-NEXT: rdsvl x9, #32
7 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
9 // rdsvl requires an immediate, not a register.
10 rdsvl x9, x10
11 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: index must be an integer in range [-32, 31].
12 // CHECK-NEXT: rdsvl x9, x10
13 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: