Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / LoongArch / lvz / lvz-err.s
blob64b47a1fca6d5a9a54ce6a0aade959b0b52a543c
1 # RUN: not llvm-mc --triple=loongarch64 %s 2>&1 | FileCheck %s
3 gcsrrd $a0, 16384
4 # CHECK: :[[#@LINE-1]]:13: error: immediate must be an integer in the range [0, 16383]
6 gcsrrd $a0, -1
7 # CHECK: :[[#@LINE-1]]:13: error: immediate must be an integer in the range [0, 16383]
9 gcsrwr $a0, 16384
10 # CHECK: :[[#@LINE-1]]:13: error: immediate must be an integer in the range [0, 16383]
12 gcsrwr $a0, -1
13 # CHECK: :[[#@LINE-1]]:13: error: immediate must be an integer in the range [0, 16383]
15 gcsrxchg $a0, $a1, 16384
16 # CHECK: :[[#@LINE-1]]:20: error: immediate must be an integer in the range [0, 16383]
18 gcsrxchg $a0, $a1, -1
19 # CHECK: :[[#@LINE-1]]:20: error: immediate must be an integer in the range [0, 16383]
21 gcsrxchg $a0, $ra, 1
22 # CHECK: :[[#@LINE-1]]:16: error: must not be $r0 or $r1
24 gcsrxchg $a0, $zero, 1
25 # CHECK: :[[#@LINE-1]]:16: error: must not be $r0 or $r1
27 hvcl 32768
28 # CHECK: :[[#@LINE-1]]:6: error: immediate must be an integer in the range [0, 32767]
30 hvcl -1
31 # CHECK: :[[#@LINE-1]]:6: error: immediate must be an integer in the range [0, 32767]