mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-22 11:39:35 +00:00
Testcase for PR1398.
llvm-svn: 36905
This commit is contained in:
parent
e572a92b8b
commit
f84f319401
15
test/CodeGen/X86/2007-05-07-InvokeSRet.ll
Normal file
15
test/CodeGen/X86/2007-05-07-InvokeSRet.ll
Normal file
@ -0,0 +1,15 @@
|
||||
; RUN: llvm-as < %s | llc -march=x86 -enable-eh -disable-fp-elim | not grep {addl .8, %esp}
|
||||
; PR1398
|
||||
|
||||
%struct.S = type { i32, i32 }
|
||||
|
||||
declare void @invokee(%struct.S* sret )
|
||||
|
||||
define void @invoker(%struct.S* %name.0.0) {
|
||||
entry:
|
||||
invoke void @invokee( %struct.S* %name.0.0 sret )
|
||||
to label %return unwind label %return
|
||||
|
||||
return: ; preds = %entry, %entry
|
||||
ret void
|
||||
}
|
Loading…
Reference in New Issue
Block a user