[llvm-commits] CVS: llvm/test/Regression/CBackend/2003-06-28-InvokeSupport.ll

Chris Lattner lattner at cs.uiuc.edu
Sat Jun 28 12:53:03 PDT 2003


Changes in directory llvm/test/Regression/CBackend:

2003-06-28-InvokeSupport.ll added (r1.1)

---
Log message:

New testcase for invoke support


---
Diffs of the changes:

Index: llvm/test/Regression/CBackend/2003-06-28-InvokeSupport.ll
diff -c /dev/null llvm/test/Regression/CBackend/2003-06-28-InvokeSupport.ll:1.1
*** /dev/null	Sat Jun 28 12:52:49 2003
--- llvm/test/Regression/CBackend/2003-06-28-InvokeSupport.ll	Sat Jun 28 12:52:38 2003
***************
*** 0 ****
--- 1,12 ----
+ 
+ declare int %callee(int, int)
+ 
+ 
+ int %test(int %X) {
+ 	%A = invoke int %callee(int %X, int 5) to label %Ok except label %Threw
+ Ok:
+ 	%B = phi int [%A, %0], [-1, %Threw]
+ 	ret int %A
+ Threw:
+ 	br label %Ok
+ }





More information about the llvm-commits mailing list