From 46c720994a94791eee90219b9552ce2b01f68f7c 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. llvm-svn: 138698 --- llvm/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll b/llvm/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll index 3738f802e95a..7af58dc38399 100644 --- a/llvm/test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll +++ b/llvm/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