1 # RUN: not llc -march=mipsel -mattr=mips16 -relocation-model=pic -run-pass none -o /dev/null %s 2>&1 | FileCheck %s
3 define i32 @test(i32 %a) {
5 %call = call i32 @foo(i32 %a)
13 tracksRegLiveness: true
23 - { id: 0, type: spill-slot, offset: -4, size: 4, alignment: 4,
24 callee-saved-register: '$ra' }
29 Save16 $ra, 24, implicit-def $sp, implicit $sp
30 $v0, $v1 = GotPrologue16 &_gp_disp, &_gp_disp
31 $v0 = SllX16 killed $v0, 16
32 $v0 = AdduRxRyRz16 killed $v1, killed $v0
33 ; CHECK: [[@LINE+1]]:67: expected a global value or an external symbol after 'call-entry'
34 $v1 = LwRxRyOffMemX16 $v0, @foo, 0 :: (load 4 from call-entry foo)
37 JumpLinkReg16 killed $v1, csr_o32, implicit-def $ra, implicit killed $t9, implicit $a0, implicit killed $gp, implicit-def $sp, implicit-def dead $v0
39 $ra = Restore16 24, implicit-def $sp, implicit $sp