1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 16:33:37 +01:00
llvm-mirror/test/CodeGen/X86/2007-05-07-InvokeSRet.ll
Evan Cheng b95db5ea4b Try fixing it again.
llvm-svn: 40072
2007-07-19 23:53:29 +00:00

16 lines
384 B
LLVM

; RUN: llvm-as < %s | llc -mtriple=i686-pc-linux-gnu -enable-eh -disable-fp-elim | not grep {addl .12, %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
}