aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/2007-05-07-InvokeSRet.ll
blob: c3d7e8a054725f48f21dff14089dc5b4ef4c73df (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
; RUN: llc < %s -mtriple=i686-pc-linux-gnu -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* sret %name.0.0   )
			to label %return unwind label %return

return:		; preds = %entry, %entry
        %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
                 cleanup
	ret void
}

declare i32 @__gxx_personality_v0(...)