summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-08-27 04:53:28 +0000
committerBill Wendling <isanbard@gmail.com>2011-08-27 04:53:28 +0000
commitf2cf25b21248fbeba55be712773b0f48a77e35a8 (patch)
treebedb83d2860dfbfe4095a6dd05f2932d9f449322
parent8557e6c0c17a94ac6655aa6b5f56a23709410081 (diff)
downloadllvm-f2cf25b21248fbeba55be712773b0f48a77e35a8.tar.gz
llvm-f2cf25b21248fbeba55be712773b0f48a77e35a8.tar.bz2
llvm-f2cf25b21248fbeba55be712773b0f48a77e35a8.tar.xz
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
-rw-r--r--test/CodeGen/X86/2010-04-30-LocalAlloc-LandingPad.ll2
1 files changed, 0 insertions, 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 3738f802e9..7af58dc383 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() ; <i8*> [#uses=1]
- store i8* %exc6, i8** %_rethrow
store i32 2, i32* %cleanup.dst7
br label %finally