You've already forked linux-packaging-mono
Imported Upstream version 5.18.0.207
Former-commit-id: 3b152f462918d427ce18620a2cbe4f8b79650449
This commit is contained in:
parent
8e12397d70
commit
eb85e2fc17
21
external/llvm/test/CodeGen/X86/tailcallbyval.ll
vendored
21
external/llvm/test/CodeGen/X86/tailcallbyval.ll
vendored
@ -1,21 +0,0 @@
|
||||
; RUN: llc < %s -mtriple=i686-unknown-linux -tailcallopt | FileCheck %s
|
||||
%struct.s = type {i32, i32, i32, i32, i32, i32, i32, i32,
|
||||
i32, i32, i32, i32, i32, i32, i32, i32,
|
||||
i32, i32, i32, i32, i32, i32, i32, i32 }
|
||||
|
||||
define fastcc i32 @tailcallee(%struct.s* byval %a) nounwind {
|
||||
entry:
|
||||
%tmp2 = getelementptr %struct.s, %struct.s* %a, i32 0, i32 0
|
||||
%tmp3 = load i32, i32* %tmp2
|
||||
ret i32 %tmp3
|
||||
; CHECK: tailcallee
|
||||
; CHECK: movl 4(%esp), %eax
|
||||
}
|
||||
|
||||
define fastcc i32 @tailcaller(%struct.s* byval %a) nounwind {
|
||||
entry:
|
||||
%tmp4 = tail call fastcc i32 @tailcallee(%struct.s* byval %a )
|
||||
ret i32 %tmp4
|
||||
; CHECK: tailcaller
|
||||
; CHECK: jmp tailcallee
|
||||
}
|
Reference in New Issue
Block a user