[llvm-commits] CVS: llvm/test/Regression/Transforms/Inline/invoke_test-3.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri May 13 08:48:56 PDT 2005
Changes in directory llvm/test/Regression/Transforms/Inline:
invoke_test-3.ll updated: 1.4 -> 1.5
---
Log message:
Fix buggy test
---
Diffs of the changes: (+2 -4)
invoke_test-3.ll | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Index: llvm/test/Regression/Transforms/Inline/invoke_test-3.ll
diff -u llvm/test/Regression/Transforms/Inline/invoke_test-3.ll:1.4 llvm/test/Regression/Transforms/Inline/invoke_test-3.ll:1.5
--- llvm/test/Regression/Transforms/Inline/invoke_test-3.ll:1.4 Tue Sep 16 10:29:32 2003
+++ llvm/test/Regression/Transforms/Inline/invoke_test-3.ll Fri May 13 10:48:41 2005
@@ -1,10 +1,9 @@
; Test that any rethrown exceptions in an inlined function are automatically
; turned into branches to the invoke destination.
-; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep 'call void %llvm.unwind'
+; RUN: llvm-as < %s | opt -inline | llvm-dis | not grep unwind$
declare void %might_throw()
-declare void %llvm.unwind()
implementation
@@ -13,8 +12,7 @@
cont:
ret int 0
exc: ; This just rethrows the exception!
- call void %llvm.unwind()
- ret int 123 ; DEAD!
+ unwind
}
; caller returns true if might_throw throws an exception... which gets
More information about the llvm-commits
mailing list