summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Mips/indirectcall.ll
blob: 6fd538cd54a1e5546f87fa26749bd38a48b95555 (plain)
1
2
3
4
5
6
7
8
; RUN: llc  < %s -march=mipsel -relocation-model=static -mips-tail-calls=1 | FileCheck %s 

define void @foo0(void (i32)* nocapture %f1) nounwind {
entry:
; CHECK: jr $25
  tail call void %f1(i32 13) nounwind
  ret void
}
OpenPOWER on IntegriCloud