diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-08-29 20:39:23 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-08-29 20:39:23 +0000 |
commit | e79ce47ad718459183998034a42061da70ec58e0 (patch) | |
tree | e70e9eb939f2f2b903f60e7932baa0cc628076ef /llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll | |
parent | 4d5c8f894d137dd538283b4f1c41512dbb6d0961 (diff) | |
download | bcm5719-llvm-e79ce47ad718459183998034a42061da70ec58e0.tar.gz bcm5719-llvm-e79ce47ad718459183998034a42061da70ec58e0.zip |
Update tests to new EH model. Add landingpad instructions to landing pads.
llvm-svn: 138759
Diffstat (limited to 'llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll')
-rw-r--r-- | llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll b/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll index 778aa3b1f7b..2ecdc95259c 100644 --- a/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll +++ b/llvm/test/Transforms/SimplifyCFG/2005-10-02-InvokeSimplify.ll @@ -4,6 +4,8 @@ define i1 @foo() { %X = invoke i1 @foo( ) to label %N unwind label %F ; <i1> [#uses=1] F: ; preds = %0 + %val = landingpad { i8*, i32 } personality i8* bitcast (i32 (...)* @__gxx_personality_v0 to i8*) + catch i8* null ret i1 false N: ; preds = %0 br i1 %X, label %A, label %B @@ -13,3 +15,4 @@ B: ; preds = %N ret i1 true } +declare i32 @__gxx_personality_v0(...) |