From f2cf25b21248fbeba55be712773b0f48a77e35a8 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Sat, 27 Aug 2011 04:53:28 +0000 Subject: [PATCH] Cannot have an llvm.eh.exception call in a non-landing pad block. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138698 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll b/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll index 3738f802e95..7af58dc3839 100644 --- a/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll +++ b/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll @@ -84,8 +84,6 @@ cleanup.switch: ; preds = %invoke.cont5 ] cleanup.end: ; preds = %cleanup.switch - %exc6 = call i8* @llvm.eh.exception() ; [#uses=1] - store i8* %exc6, i8** %_rethrow store i32 2, i32* %cleanup.dst7 br label %finally