diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:28:25 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-09-01 01:28:25 +0000 |
commit | 00c30d58a5f53132dc93a0e22e05a49cba3371d8 (patch) | |
tree | 0e6e5a53cf7f965c0794b237ad2832ddeb228637 | |
parent | a8d1393093d67091d47fa87a4ce86c0adcead6a0 (diff) | |
download | external_llvm-00c30d58a5f53132dc93a0e22e05a49cba3371d8.zip external_llvm-00c30d58a5f53132dc93a0e22e05a49cba3371d8.tar.gz external_llvm-00c30d58a5f53132dc93a0e22e05a49cba3371d8.tar.bz2 |
Update to new EH scheme.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138933 91177308-0d34-0410-b5e6-96231b3b80d8
4 files changed, 14 insertions, 0 deletions
diff --git a/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll b/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll index cfe5df6..56493e2 100644 --- a/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll +++ b/test/Transforms/InstCombine/2003-10-29-CallSiteResolve.ll @@ -10,6 +10,9 @@ invoke_cont: ; preds = %0 ret float* %tmp.11 X: ; preds = %0 + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup ret float* null } +declare i32 @__gxx_personality_v0(...) diff --git a/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll b/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll index bec0b9e..6df30c7 100644 --- a/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll +++ b/test/Transforms/InstCombine/2004-01-13-InstCombineInvokePHI.ll @@ -23,6 +23,9 @@ cont: ; preds = %call, %entry ret i32 %V N: ; preds = %call + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup ret i32 0 } +declare i32 @__gxx_personality_v0(...) diff --git a/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll b/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll index d56a1a0..f6eb248 100644 --- a/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll +++ b/test/Transforms/InstCombine/2008-05-09-SinkOfInvoke.ll @@ -29,5 +29,9 @@ invcont37: ; preds = %invcont31 ret void lpad: ; preds = %invcont31, %invcont, %entry + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup unreachable } + +declare i32 @__gxx_personality_v0(...) diff --git a/test/Transforms/InstCombine/call.ll b/test/Transforms/InstCombine/call.ll index d084873..983dd26 100644 --- a/test/Transforms/InstCombine/call.ll +++ b/test/Transforms/InstCombine/call.ll @@ -107,9 +107,13 @@ invoke.cont: ; preds = %entry unreachable try.handler: ; preds = %entry + %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0 + cleanup ret i8* null } +declare i32 @__gxx_personality_v0(...) + ; Don't turn this into "unreachable": the callee and caller don't agree in ; calling conv, but the implementation of test8a may actually end up using the ; right calling conv. |