mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-21 03:53:04 +02:00
Test case for r246304.
llvm-svn: 246306
This commit is contained in:
parent
940c24167e
commit
7491c45836
15
test/CodeGen/X86/tailcall-readnone.ll
Normal file
15
test/CodeGen/X86/tailcall-readnone.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llc -mtriple=x86_64-unknown-linux-gnu -o - %s | FileCheck %s
|
||||
|
||||
define void @f(i32** %p) unnamed_addr {
|
||||
entry:
|
||||
%v = tail call i32* @g()
|
||||
store i32* %v, i32** %p, align 8
|
||||
ret void
|
||||
}
|
||||
; CHECK-LABEL: f:
|
||||
; CHECK: callq g
|
||||
; CHECK: movq %rax, (%rbx)
|
||||
|
||||
declare i32* @g() #2
|
||||
|
||||
attributes #2 = { nounwind readnone }
|
Loading…
Reference in New Issue
Block a user