[mips] [IAS] Add support for the DLA pseudo-instruction and fix problems with DLI
[oota-llvm.git] / test / MC / Mips / branch-pseudos-bad.s
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32 2>&1 | FileCheck %s
2
3 # Check for errors when using conditional branch pseudos after .set noat.
4   .set noat
5 local_label:
6   blt $7, $8, local_label
7 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
8   bltu $7, $8, local_label
9 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
10   ble $7, $8, local_label
11 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
12   bleu $7, $8, local_label
13 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
14   bge $7, $8, local_label
15 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
16   bgeu $7, $8, local_label
17 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
18   bgt $7, $8, local_label
19 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
20   bgtu $7, $8, local_label
21 # CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available