Update this test to the new EH model.
authorBill Wendling <isanbard@gmail.com>
Tue, 20 Sep 2011 22:29:43 +0000 (22:29 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 20 Sep 2011 22:29:43 +0000 (22:29 +0000)
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

index 91e9799ad9cab40a4236f5179f2e29f284c92394..ff5de6b73e210dd74986dcbc1913c1d261531a14 100644 (file)
@@ -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(...)