bolt/deps/llvm-18.1.8/llvm/test/MC/Mips/macro-bcc-imm-bad.s
2025-02-14 19:21:04 +01:00

12 lines
501 B
ArmAsm

# RUN: not llvm-mc %s -triple=mips -mcpu=mips32r2 2>&1 | \
# RUN: FileCheck %s --check-prefix=ALL
.text
.set noat
foo:
blt $a2, 16, foo # ALL: :[[@LINE]]:5: error: pseudo-instruction requires $at, which is not available
.set at
.set noreorder
.set nomacro
blt $a2, 16, foo # ALL: :[[@LINE]]:5: warning: macro instruction expanded into multiple instructions
# ALL-NOT: :[[@LINE-1]]:5: warning: macro instruction expanded into multiple instructions