aboutsummaryrefslogtreecommitdiffstats
path: root/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-09-01 01:02:41 +0000
committerBill Wendling <isanbard@gmail.com>2011-09-01 01:02:41 +0000
commit15db556b56e30d86e48c929227e3707d0ef867b9 (patch)
tree0d39510d9394e6946e3854833a4e11d996fd4e59 /test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
parentaeaa9a8b2570ef23e06f2170f08caafda9fcf311 (diff)
downloadexternal_llvm-15db556b56e30d86e48c929227e3707d0ef867b9.zip
external_llvm-15db556b56e30d86e48c929227e3707d0ef867b9.tar.gz
external_llvm-15db556b56e30d86e48c929227e3707d0ef867b9.tar.bz2
Update to new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138927 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll')
-rw-r--r--test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll b/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
index 70a7a9d..ce043be 100644
--- a/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
+++ b/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll
@@ -10,6 +10,8 @@ entry:
to label %endif.1 unwind label %then.i.i551
then.i.i551: ; preds = %entry
+ %exn551 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret void
endif.1: ; preds = %entry
@@ -20,6 +22,8 @@ then.2: ; preds = %endif.1
to label %loopentry.0 unwind label %invoke_catch.6
invoke_catch.6: ; preds = %then.2
+ %exn6 = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
+ cleanup
ret void
loopentry.0: ; preds = %then.2
@@ -59,3 +63,5 @@ loopexit.1: ; preds = %no_exit.0, %endif.4
then.i.i: ; preds = %endif.1
ret void
}
+
+declare i32 @__gxx_personality_v0(...)