xref: /aosp_15_r20/external/llvm/test/MC/Mips/macro-bcc-imm-bad.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>&1 | \
2# RUN:     FileCheck %s --check-prefix=ALL
3
4    .text
5    .set noat
6foo:
7    blt $a2, 16, foo # ALL: :[[@LINE]]:5: error: pseudo-instruction requires $at, which is not available
8    .set at
9    .set noreorder
10    .set nomacro
11    blt $a2, 16, foo # ALL: :[[@LINE]]:5: warning: macro instruction expanded into multiple instructions
12                     # ALL-NOT: :[[@LINE-1]]:5: warning: macro instruction expanded into multiple instructions
13