[mips][ias] Implement macro expansion when bcc has an immediate where a register...
[oota-llvm.git] / test / MC / Mips / macro-bcc-imm-bad.s
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
6 foo:
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