llvm/test/CodeGen/Mips/indirectcall.ll
Simon Dardis fbff6d5f71 [mips] Disable tail calls temporarily
Disable tail calls while the remaining bugs are fixed. Enable only for tests.

Reviewers: vkalintiris

Differential Review: https://reviews.llvm.org/D24912


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282487 91177308-0d34-0410-b5e6-96231b3b80d8
2016-09-27 13:15:54 +00:00

9 lines
222 B
LLVM

; 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
}