Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / armv8.5a-ssbs-error.s
bloba7c9f4c4fbb5c3fb61d7d241daa09ef1bf479ffc
1 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+ssbs < %s 2>&1 | FileCheck %s
2 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=+v8.5a < %s 2>&1 | FileCheck %s
3 // RUN: not llvm-mc -triple aarch64 -show-encoding -mattr=-ssbs < %s 2>&1 | FileCheck %s --check-prefix=NOSPECID
5 msr SSBS, #16
7 // CHECK: error: immediate must be an integer in range [0, 15].
8 // CHECK-NEXT: msr SSBS, #16
9 // NOSPECID: error: expected writable system register or pstate
10 // NOSPECID-NEXT: msr {{ssbs|SSBS}}, #16