51 lines · plain
1# RUN: not llvm-mc %s -triple=mips -mcpu=mips32 2>&1 | FileCheck %s2 3# CHECK: error: invalid operand for instruction4 beql $t0, ($t0), 15# CHECK: error: invalid operand for instruction6 bne $t0, ($t0), 17# CHECK: error: invalid operand for instruction8 beq $t0, ($t0), 19 10 11# Check for errors when using conditional branch pseudos after .set noat.12 .set noat13local_label:14 blt $7, $8, local_label15# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available16 bltu $7, $8, local_label17# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available18 ble $7, $8, local_label19# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available20 bleu $7, $8, local_label21# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available22 bge $7, $8, local_label23# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available24 bgeu $7, $8, local_label25# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available26 bgt $7, $8, local_label27# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available28 bgtu $7, $8, local_label29# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available30 31 beql $7, 256, local_label32# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available33 bnel $7, 256, local_label34# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available35 bltl $7, $8, local_label36# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available37 bltul $7, $8, local_label38# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available39 blel $7, $8, local_label40# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available41 bleul $7, $8, local_label42# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available43 bgel $7, $8, local_label44# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available45 bgeul $7, $8, local_label46# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available47 bgtl $7, $8, local_label48# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available49 bgtul $7, $8, local_label50# CHECK: :[[@LINE-1]]:3: error: pseudo-instruction requires $at, which is not available51