Debian Codegraph @

llvm/test/MC/LoongArch/Macros/macros-la-bad.s

raw
1 # RUN: not llvm-mc --triple=loongarch64 %s 2>&1 | FileCheck %s
2
3 la.got $a0, 1
4 # CHECK: :[[#@LINE-1]]:13: error: operand must be a bare symbol name
5
6 la.pcrel $a0, $a1, 1
7 # CHECK: :[[#@LINE-1]]:20: error: operand must be a bare symbol name
8
9 la.abs $a0, $a1, sym
10 # CHECK: :[[#@LINE-1]]:14: error: operand must be a bare symbol name
11
12 la.pcrel $a0, $a0, sym
13 # CHECK: :[[#@LINE-1]]:11: error: $rd must be different from $rj
14
15 la.tls.desc $a1, sym
16 # CHECK: :[[#@LINE-1]]:14: error: $rd must be $r4