From 234e43a88859c7e0bb6639573deaa3d412ac118c Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 27 Aug 2011 04:53:41 +0000 Subject: [PATCH] Update to new EH scheme. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138699 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/code_placement_eh.ll | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/CodeGen/X86/code_placement_eh.ll b/test/CodeGen/X86/code_placement_eh.ll index 172d5910d03..2da3f9f53ef 100644 --- a/test/CodeGen/X86/code_placement_eh.ll +++ b/test/CodeGen/X86/code_placement_eh.ll @@ -22,11 +22,13 @@ bb18.i5.i: ; preds = %.noexc6.i.i, %bb51. to label %.noexc6.i.i unwind label %lpad.i.i ; [#uses=0] lpad.i.i: ; preds = %bb18.i5.i, %.noexc6.i.i - %eh_ptr.i.i = call i8* @llvm.eh.exception() ; [#uses=1] + %lpadval.i.i = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 + catch i8* null unreachable lpad59.i: ; preds = %bb15 - %eh_ptr60.i = call i8* @llvm.eh.exception() ; [#uses=1] + %lpadval60.i.i = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 + catch i8* null unreachable bb15: ; preds = %.noexc3, %invcont5 @@ -34,9 +36,7 @@ bb15: ; preds = %.noexc3, %invcont5 to label %.noexc3 unwind label %lpad59.i } -declare i8* @llvm.eh.exception() nounwind readonly - -declare i32 @llvm.eh.selector(i8*, i8*, ...) nounwind +declare i32 @__gxx_personality_v0(...) declare float @sinf(float) readonly -- 2.34.1