1# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | FileCheck %s 2# RUN: llvm-mc -triple=mipsel-unknown-linux < %s | \ 3# RUN: llvm-mc -triple=mipsel-unknown-linux | FileCheck %s 4 5 .text 6branch: 7 bnez $2, foo 8 9# CHECK-LABEL: branch: 10# CHECK: bnez $2, foo 11# CHECK: nop 12# CHECK-NOT: nop 13 14cprestore: 15 .option pic2 16 .cprestore 16 17 jal foo 18 19# CHECK-LABEL: cprestore: 20# CHECK: .cprestore 16 21# CHECK: lw $25, %call16(foo)($gp) 22# CHECK: jalr $25 23# CHECK: nop 24# CHECK: lw $gp, 16($sp) 25# CHECK-NOT: nop 26# CHECK-NOT: lw 27