1 ; Check call to mcount in case of long/short call options.
2 ; RUN: llc -march=mips -target-abi o32 --mattr=+long-calls,+noabicalls < %s \
3 ; RUN: -mips-jalr-reloc=false | FileCheck -check-prefixes=CHECK,LONG %s
4 ; RUN: llc -march=mips -target-abi o32 --mattr=-long-calls,+noabicalls < %s \
5 ; RUN: -mips-jalr-reloc=false | FileCheck -check-prefixes=CHECK,SHORT %s
7 ; Function Attrs: noinline nounwind optnone
8 define void @foo() #0 {
13 ; LONG: lui $1, %hi(_mcount)
14 ; LONG-NEXT: addiu $25, $1, %lo(_mcount)
19 attributes #0 = { "instrument-function-entry-inlined"="_mcount" }