[llvm-commits] CVS: llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Jun 30 23:10:00 PDT 2004


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

InvokeEliminate.ll updated: 1.2 -> 1.3

---
Log message:

Fix testcase.  For some reason this was failing only with a release build and
not with a debug build?  Rather testrunner only caught it in that case.


---
Diffs of the changes:  (+1 -3)

Index: llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll
diff -u llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.2 llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.3
--- llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll:1.2	Tue Sep 16 10:29:52 2003
+++ llvm/test/Regression/Transforms/SimplifyCFG/InvokeEliminate.ll	Wed Jun 30 23:09:14 2004
@@ -6,14 +6,12 @@
 ; RUN: llvm-as < %s | opt -simplifycfg | llvm-dis | not egrep 'invoke|br'
 
 declare void %bar()
-declare void %llvm.unwind()
 
 int %test() {
 	invoke void %bar() to label %Ok except label %Rethrow
 Ok:
 	ret int 0
 Rethrow:
-	call void %llvm.unwind()
-	br label %Ok
+	unwind
 }
 





More information about the llvm-commits mailing list