summaryrefslogtreecommitdiff
path: root/test/Assembler
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/Assembler
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/Assembler')
-rw-r--r--test/Assembler/2003-06-17-InvokeDisassemble.ll13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/Assembler/2003-06-17-InvokeDisassemble.ll b/test/Assembler/2003-06-17-InvokeDisassemble.ll
deleted file mode 100644
index 8a9670e57b..0000000000
--- a/test/Assembler/2003-06-17-InvokeDisassemble.ll
+++ /dev/null
@@ -1,13 +0,0 @@
-; RUN: llvm-as < %s | llvm-dis
-
-define void @test() {
- invoke void @test( )
- to label %Next unwind label %Next
-
-Next: ; preds = %0, %0
- %lpad = landingpad { i8*, i32 } personality i32 (...)* @__gxx_personality_v0
- cleanup
- ret void
-}
-
-declare i32 @__gxx_personality_v0(...)