[llvm-commits] CVS: llvm/test/CodeGen/X86/2007-05-07-InvokeSRet.ll

Duncan Sands baldrick at free.fr
Mon May 7 13:45:37 PDT 2007



Changes in directory llvm/test/CodeGen/X86:

2007-05-07-InvokeSRet.ll added (r1.1)
---
Log message:

Testcase for PR1398: http://llvm.org/PR1398 .


---
Diffs of the changes:  (+15 -0)

 2007-05-07-InvokeSRet.ll |   15 +++++++++++++++
 1 files changed, 15 insertions(+)


Index: llvm/test/CodeGen/X86/2007-05-07-InvokeSRet.ll
diff -c /dev/null llvm/test/CodeGen/X86/2007-05-07-InvokeSRet.ll:1.1
*** /dev/null	Mon May  7 15:45:30 2007
--- llvm/test/CodeGen/X86/2007-05-07-InvokeSRet.ll	Mon May  7 15:45:20 2007
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: llvm-as < %s | llc -march=x86 -enable-eh -disable-fp-elim | not grep {addl .8, %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
+ }






More information about the llvm-commits mailing list