projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
new testcase for PR635
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
2005-10-02-InvokeSimplify.ll
diff --git a/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
b/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
new file mode 100644
(file)
index 0000000..
3a29cb8
--- /dev/null
+++ b/
test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll
@@ -0,0
+1,13
@@
+; RUN: llvm-as < %s | opt -simplifycfg -disable-output
+
+bool %foo() {
+ %X = invoke bool %foo() to label %N unwind label %F
+F:
+ ret bool false
+N:
+ br bool %X, label %A, label %B
+A:
+ ret bool true
+B:
+ ret bool true
+}