• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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