1 # RUN: llvm-mc %s -arch=mips -mcpu=mips32 -mattr=micromips 2>&1 | FileCheck %s 2 3 .text 4 .type main, @function 5 .set micromips 6 main: 7 # CHECK-NOT: warning: macro instruction expanded into multiple instructions 8 .set macro 9 b 132 10 b 1332 11 b bar 12 13 lwm $16, $17, 8($sp) 14 swm $16, $17, 8($sp) 15 16 add $4, $5, $6 17 18 .set noreorder 19 .set nomacro 20 b 132 21 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 22 b 1332 23 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 24 b bar 25 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 26 27 lwm $16, $17, 8($sp) 28 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 29 swm $16, $17, 8($sp) 30 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 31 32 add $4, $5, $6 33 # CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions 34