diff options
Diffstat (limited to 'test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll')
-rw-r--r-- | test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll b/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll index aee67cc..a5706ca 100644 --- a/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll +++ b/test/Transforms/IndVarSimplify/2005-02-11-InvokeCrash.ll @@ -5,9 +5,6 @@ entry: %tmp.7 = invoke i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector( ) to label %invoke_cont.0 unwind label %cond_true.1 ; <i32> [#uses=2] -cond_true.1: ; preds = %entry - unwind - invoke_cont.0: ; preds = %entry %tmp.4.i = bitcast i32 %tmp.7 to i32 ; <i32> [#uses=0] %tmp.14.0.i5 = add i32 %tmp.7, -1 ; <i32> [#uses=1] @@ -17,7 +14,14 @@ no_exit.i: ; preds = %no_exit.i, %invoke_cont.0 %tmp.14.0.i.0 = phi i32 [ %tmp.14.0.i, %no_exit.i ], [ %tmp.14.0.i5, %invoke_cont.0 ] ; <i32> [#uses=1] %tmp.14.0.i = add i32 %tmp.14.0.i.0, -1 ; <i32> [#uses=1] br label %no_exit.i + +cond_true.1: ; preds = %entry + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup + resume { i8*, i32 } %exn } +declare i32 @__gxx_personality_v0(...) + declare i32 @_ZN5ArrayISt7complexIdEE8get_sizeERK10dim_vector() |