1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/CodeGen/X86/2007-05-07-InvokeSRet.ll

20 lines
511 B
LLVM
Raw Normal View History

; RUN: llc < %s -mtriple=i686-pc-linux-gnu -disable-fp-elim | not grep {addl .12, %esp}
2007-05-07 22:45:20 +02:00
; 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* sret %name.0.0 )
2007-05-07 22:45:20 +02:00
to label %return unwind label %return
return: ; preds = %entry, %entry
%exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
cleanup
2007-05-07 22:45:20 +02:00
ret void
}
declare i32 @__gxx_personality_v0(...)