projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Try to eliminate the use of the 'unwind' instruction.
[oota-llvm.git]
/
test
/
Transforms
/
SimplifyCFG
/
2010-03-30-InvokeCrash.ll
diff --git
a/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
b/test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
index ced89cf4c2b310642232f6483dae1e509a94f1b4..7bffa1a8e0e2f7a90ed86b2dc71abd21ddd04673 100644
(file)
--- a/
test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
+++ b/
test/Transforms/SimplifyCFG/2010-03-30-InvokeCrash.ll
@@
-14,5
+14,9
@@
r: ; preds = %entry
ret void
u: ; preds = %entry
- unwind
+ %val = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
+ cleanup
+ resume { i8*, i32 } %val
}
+
+declare i32 @__gxx_personality_v0(...)