summaryrefslogtreecommitdiff
path: root/test/Transforms/PruneEH
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2012-08-10 20:55:20 +0000
committerEli Friedman <eli.friedman@gmail.com>2012-08-10 20:55:20 +0000
commit6b951b25c35f739ee0a1b5a4615718220830817d (patch)
treef694880df3f60acec17d71960f8c6652927e8733 /test/Transforms/PruneEH
parentd9b45125935b05578255501a7e05fba9de603609 (diff)
downloadllvm-6b951b25c35f739ee0a1b5a4615718220830817d.tar.gz
llvm-6b951b25c35f739ee0a1b5a4615718220830817d.tar.bz2
llvm-6b951b25c35f739ee0a1b5a4615718220830817d.tar.xz
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
Diffstat (limited to 'test/Transforms/PruneEH')
-rw-r--r--test/Transforms/PruneEH/2003-09-14-ExternalCall.ll14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll b/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll
deleted file mode 100644
index 64aba46101..0000000000
--- a/test/Transforms/PruneEH/2003-09-14-ExternalCall.ll
+++ /dev/null
@@ -1,14 +0,0 @@
-; RUN: opt < %s -prune-eh -S | grep invoke
-
-declare void @External()
-
-define void @foo() {
- invoke void @External( )
- to label %Cont unwind label %Cont
-Cont: ; preds = %0, %0
- %exn = landingpad {i8*, i32} personality i32 (...)* @__gxx_personality_v0
- cleanup
- ret void
-}
-
-declare i32 @__gxx_personality_v0(...)