1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/CodeGen/Mips/indirectcall.ll
Simon Dardis 1e548fbd1e [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

llvm-svn: 282487
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
}