You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
This commit is contained in:
parent
5cd5df71cc
commit
8e12397d70
19
external/llvm/test/CodeGen/Mips/long-call-mcount.ll
vendored
Normal file
19
external/llvm/test/CodeGen/Mips/long-call-mcount.ll
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
; Check call to mcount in case of long/short call options.
|
||||
; RUN: llc -march=mips -target-abi o32 --mattr=+long-calls,+noabicalls < %s \
|
||||
; RUN: | FileCheck -check-prefixes=CHECK,LONG %s
|
||||
; RUN: llc -march=mips -target-abi o32 --mattr=-long-calls,+noabicalls < %s \
|
||||
; RUN: | FileCheck -check-prefixes=CHECK,SHORT %s
|
||||
|
||||
; Function Attrs: noinline nounwind optnone
|
||||
define void @foo() #0 {
|
||||
entry:
|
||||
ret void
|
||||
|
||||
; CHECK-LABEL: foo
|
||||
; LONG: lui $1, %hi(_mcount)
|
||||
; LONG-NEXT: addiu $25, $1, %lo(_mcount)
|
||||
; LONG-NEXT: jalr $25
|
||||
; SHORT: jal _mcount
|
||||
}
|
||||
|
||||
attributes #0 = { "instrument-function-entry-inlined"="_mcount" }
|
Reference in New Issue
Block a user