From 6b951b25c35f739ee0a1b5a4615718220830817d Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 10 Aug 2012 20:55:20 +0000 Subject: The normal edge of an invoke is not allowed to branch to a block with a landingpad. Enforce it in the verifier, and fix the regression tests to match. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161697 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll (limited to 'test/CodeGen/Generic') diff --git a/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll b/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll deleted file mode 100644 index ad418f7..0000000 --- a/test/CodeGen/Generic/2009-06-03-UnreachableSplitPad.ll +++ /dev/null @@ -1,19 +0,0 @@ -; RUN: llc < %s -; PR4317 - -declare i32 @b() - -define void @a() { -entry: - ret void - -dummy: - invoke i32 @b() to label %reg unwind label %reg - -reg: - %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0 - catch i8* null - ret void -} - -declare i32 @__gxx_personality_v0(...) -- cgit v1.1