projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve vectorization diagnostic messages and extend vectorize(enable) pragma.
[oota-llvm.git]
/
test
/
Transforms
/
ADCE
/
2003-09-10-UnwindInstFail.ll
diff --git
a/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
b/test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
index 750e0b803b2e5222a841a6f613c08435d0422d83..607bf2e58095f44357ecb504e16aa870ced4369a 100644
(file)
--- a/
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
+++ b/
test/Transforms/ADCE/2003-09-10-UnwindInstFail.ll
@@
-1,20
+1,22
@@
-; RUN:
as < %s | opt
-adce -disable-output
+; RUN:
opt < %s
-adce -disable-output
-implementation ; Functions:
+define void @test() personality i32 (...)* @__gxx_personality_v0 {
+ br i1 false, label %then, label %endif
-void %test() {
- br bool false, label %then, label %endif
+then: ; preds = %0
+ invoke void null( i8* null )
+ to label %invoke_cont unwind label %invoke_catch
-then:
- invoke void null( sbyte* null )
- to label %invoke_cont except label %invoke_catch
+invoke_catch: ; preds = %then
+ %exn = landingpad {i8*, i32}
+ cleanup
+ resume { i8*, i32 } %exn
-invoke_c
atch:
-
unwin
d
+invoke_c
ont: ; preds = %then
+
ret voi
d
-invoke_cont:
- ret void
-
-endif:
- ret void
+endif: ; preds = %0
+ ret void
}
}
+
+declare i32 @__gxx_personality_v0(...)