• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
5local_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
22
23  bltl $7, $8, local_label
24# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
25  bltul $7, $8, local_label
26# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
27  blel $7, $8, local_label
28# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
29  bleul $7, $8, local_label
30# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
31  bgel $7, $8, local_label
32# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
33  bgeul $7, $8, local_label
34# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
35  bgtl $7, $8, local_label
36# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
37  bgtul $7, $8, local_label
38# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available
39