summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/2007-05-07-InvokeSRet.ll
blob: ff7aac0239d8d53aea8cdddcf163a5698460bff5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; 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
}
OpenPOWER on IntegriCloud