llvm.org GIT mirror llvm / release_29 test / CodeGen / X86 / 2007-05-07-InvokeSRet.ll
release_29

Tree @release_29 (Download .tar.gz)

2007-05-07-InvokeSRet.ll @release_29raw · history · blame

; 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* %name.0.0 sret  )
			to label %return unwind label %return

return:		; preds = %entry, %entry
	ret void
}