From e3039de7225cdceca8a22b8c662a4b05b3dcc566 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 20 Sep 2011 22:29:43 +0000 Subject: [PATCH] Update this test to the new EH model. Though I think it may be obsolete with the loop extract changes. And I couldn't get the old version of LLVM to compile so that I could reduce this testcase. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140197 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll b/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll index 91e9799ad9c..ff5de6b73e2 100644 --- a/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll +++ b/test/Transforms/CodeExtractor/2004-03-18-InvokeHandling.ll @@ -190,5 +190,9 @@ return: ; preds = %entry ret void LongJmpBlkPre: ; preds = %endif.52, %then.40 + %exn = landingpad { i8*, i32 } personality i32 (...)* @__gcc_personality_v0 + catch i8* null ret void } + +declare i32 @__gcc_personality_v0(...) -- 2.34.1