[llvm-commits] CVS: llvm/test/Regression/Transforms/PruneEH/2003-11-21-PHIUpdate.llx

Chris Lattner lattner at cs.uiuc.edu
Fri Nov 21 20:21:01 PST 2003


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

2003-11-21-PHIUpdate.llx added (r1.1)

---
Log message:

New testcase that breaks the pruneeh pass


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

Index: llvm/test/Regression/Transforms/PruneEH/2003-11-21-PHIUpdate.llx
diff -c /dev/null llvm/test/Regression/Transforms/PruneEH/2003-11-21-PHIUpdate.llx:1.1
*** /dev/null	Fri Nov 21 20:20:18 2003
--- llvm/test/Regression/Transforms/PruneEH/2003-11-21-PHIUpdate.llx	Fri Nov 21 20:20:08 2003
***************
*** 0 ****
--- 1,15 ----
+ ; RUN: llvm-as < %s | opt -prune-eh -disable-output
+ 
+ implementation
+ 
+ internal void %callee() {  ; does not throw
+   ret void
+ }
+ 
+ int %caller() {
+   invoke void %callee() to label %E except label %E
+ 
+ E:
+ 	%X = phi int [0, %0], [0, %0]
+ 	ret int %X
+ }





More information about the llvm-commits mailing list