brintos

brintos / llvm-project-archived public Read only

0
0
Text · 990 B · e1f4914 Raw
34 lines · plain
1# RUN: llvm-mc %s -triple mips-unknown-linux-gnu -mattr=micromips 2>&1 | FileCheck %s2 3  .text4  .type main, @function5  .set micromips6main:7# CHECK-NOT: warning: macro instruction expanded into multiple instructions8  .set macro9  b 13210  b 133211  b bar12 13  lwm $16, $17, 8($sp)14  swm $16, $17, 8($sp)15 16  add $4, $5, $617 18  .set noreorder19  .set nomacro20  b 13221# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions22  b 133223# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions24  b bar25# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions26 27  lwm $16, $17, 8($sp)28# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions29  swm $16, $17, 8($sp)30# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions31 32  add $4, $5, $633# CHECK-NOT: [[@LINE-1]]:3: warning: macro instruction expanded into multiple instructions34