[llvm-commits] CVS: llvm/test/Regression/Transforms/ADCE/2003-09-10-UnwindInstFail.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Sep 10 10:34:02 PDT 2003


Changes in directory llvm/test/Regression/Transforms/ADCE:

2003-09-10-UnwindInstFail.ll added (r1.1)

---
Log message:

New testcase


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
diff -c /dev/null llvm/test/Regression/Transforms/ADCE/2003-09-10-UnwindInstFail.ll:1.1
*** /dev/null	Wed Sep 10 10:33:43 2003
--- llvm/test/Regression/Transforms/ADCE/2003-09-10-UnwindInstFail.ll	Wed Sep 10 10:33:33 2003
***************
*** 0 ****
--- 1,20 ----
+ ; RUN: as < %s | opt -adce -disable-output
+ 
+ implementation   ; Functions:
+ 
+ void %test() {
+ 	br bool false, label %then, label %endif
+ 
+ then:
+ 	invoke void null( sbyte* null )
+ 			to label %invoke_cont except label %invoke_catch
+ 
+ invoke_catch:
+ 	unwind
+ 
+ invoke_cont:
+ 	ret void
+ 
+ endif:
+ 	ret void
+ }





More information about the llvm-commits mailing list