summaryrefslogtreecommitdiff
path: root/test/Other
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-12-15 04:52:47 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-12-15 04:52:47 +0000
commit3ba19b1045a97dadc4baa1f3d44a5f549194a2b3 (patch)
treecc3cef39f1cadd92c31f3ae778a3dc06565abba1 /test/Other
parentadeb0a6e64c5a63e891e016226645f9595d00959 (diff)
downloadllvm-3ba19b1045a97dadc4baa1f3d44a5f549194a2b3.tar.gz
llvm-3ba19b1045a97dadc4baa1f3d44a5f549194a2b3.tar.bz2
llvm-3ba19b1045a97dadc4baa1f3d44a5f549194a2b3.tar.xz
Fix test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146642 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/constant-fold-gep.ll4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Other/constant-fold-gep.ll b/test/Other/constant-fold-gep.ll
index 79ddaf2d12..d28c178588 100644
--- a/test/Other/constant-fold-gep.ll
+++ b/test/Other/constant-fold-gep.ll
@@ -106,9 +106,9 @@
; PLAIN: @Y = global [3 x { i32, i32 }]* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 2)
; PLAIN: @Z = global i32* getelementptr inbounds (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 0), i64 1)
-; OPT: @Y = global [3 x { i32, i32 }]* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 2)
+; OPT: @Y = global [3 x { i32, i32 }]* getelementptr ([3 x { i32, i32 }]* @ext, i64 2)
; OPT: @Z = global i32* getelementptr (i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 0), i64 1)
-; TO: @Y = global [3 x { i32, i32 }]* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 2)
+; TO: @Y = global [3 x { i32, i32 }]* getelementptr ([3 x { i32, i32 }]* @ext, i64 2)
; TO: @Z = global i32* getelementptr inbounds ([3 x { i32, i32 }]* @ext, i64 0, i64 1, i32 1)
@ext = external global [3 x { i32, i32 }]