X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=test%2FTransforms%2FIndVarSimplify%2F2005-02-17-TruncateExprCrash.ll;h=ce043beb7fd95b6b8453bc10183ff54b882a2a24;hb=ef4c80e07baf02dd2a8f08db49c5634a06d3ca1e;hp=a1beec646891455b58655afbb9da2fbaba793b23;hpb=74786c0f4360db7547f8a12980260b5b7a441627;p=oota-llvm.git diff --git a/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll b/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll index a1beec64689..ce043beb7fd 100644 --- a/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll +++ b/test/Transforms/IndVarSimplify/2005-02-17-TruncateExprCrash.ll @@ -1,4 +1,4 @@ -; RUN: llvm-as < %s | opt -indvars -disable-output +; RUN: opt < %s -indvars -disable-output declare void @q_atomic_increment() @@ -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(...)