Cannot have an llvm.eh.exception call in a non-landing pad block.
authorBill Wendling <isanbard@gmail.com>
Sat, 27 Aug 2011 04:53:28 +0000 (04:53 +0000)
committerBill Wendling <isanbard@gmail.com>
Sat, 27 Aug 2011 04:53:28 +0000 (04:53 +0000)
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

index 3738f802e95a82f4ed5aa278e3d1469f528ddebd..7af58dc383999ac5a8b61a3d9dcce488a23ab640 100644 (file)
@@ -84,8 +84,6 @@ cleanup.switch:                                   ; preds = %invoke.cont5
   ]
 
 cleanup.end:                                      ; preds = %cleanup.switch
-  %exc6 = call i8* @llvm.eh.exception()           ; <i8*> [#uses=1]
-  store i8* %exc6, i8** %_rethrow
   store i32 2, i32* %cleanup.dst7
   br label %finally