Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / MC / LoongArch / Relocations / fixups-diagnostics.s
blobc72eef7cd991681c3580965c9c4fc5220569dc38
1 # RUN: not llvm-mc --triple=loongarch64 --filetype=obj %s -o /dev/null 2>&1 | FileCheck %s
3 beq $a0, $a1, unaligned # CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
4 beqz $a0, unaligned # CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
5 b unaligned # CHECK: :[[#@LINE]]:3: error: fixup value must be 4-byte aligned
6 .byte 0
7 unaligned:
8 .byte 0
9 .byte 0
10 .byte 0
12 beq $a0, $a1, out_of_range_b18 # CHECK: :[[#@LINE]]:3: error: fixup value out of range [-131072, 131071]
13 .space 1<<18
14 out_of_range_b18:
15 beqz $a0, out_of_range_b23 # CHECK: :[[#@LINE]]:3: error: fixup value out of range [-4194304, 4194303]
16 .space 1<<23
17 out_of_range_b23:
18 b out_of_range_b28 # CHECK: :[[#@LINE]]:3: error: fixup value out of range [-134217728, 134217727]
19 .space 1<<28
20 out_of_range_b28: