aboutsummaryrefslogtreecommitdiffstats
path: root/test/Verifier
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2008-05-15 19:50:34 +0000
committerDan Gohman <gohman@apple.com>2008-05-15 19:50:34 +0000
commit041e2eb51721bcfecee5d9c9fc409ff185526e47 (patch)
treebb8e3b74ffb3950147e74e621ffa5e8f14040cd2 /test/Verifier
parentd208a803a614a0ce6d5a8c6df045fd130f5dfed7 (diff)
downloadexternal_llvm-041e2eb51721bcfecee5d9c9fc409ff185526e47.zip
external_llvm-041e2eb51721bcfecee5d9c9fc409ff185526e47.tar.gz
external_llvm-041e2eb51721bcfecee5d9c9fc409ff185526e47.tar.bz2
IR support for extractvalue and insertvalue instructions. Also, begin
moving toward making structs and arrays first-class types. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51157 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Verifier')
-rw-r--r--test/Verifier/2002-11-05-GetelementptrPointers.ll6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Verifier/2002-11-05-GetelementptrPointers.ll b/test/Verifier/2002-11-05-GetelementptrPointers.ll
index e37a0ff..c762b2a 100644
--- a/test/Verifier/2002-11-05-GetelementptrPointers.ll
+++ b/test/Verifier/2002-11-05-GetelementptrPointers.ll
@@ -1,7 +1,7 @@
-; RUN: not llvm-as < %s |& grep {Invalid getelementptr indices}
+; RUN: llvm-as < %s
-; This testcase is invalid because we are indexing into a pointer that is
-; contained WITHIN a structure.
+; This testcase was previously considered invalid for indexing into a pointer
+; that is contained WITHIN a structure, but this is now valid.
define void @test({i32, i32*} * %X) {
getelementptr {i32, i32*} * %X, i32 0, i32 1, i32 0