summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic/vector.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Generic/vector.ll')
-rw-r--r--llvm/test/CodeGen/Generic/vector.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Generic/vector.ll b/llvm/test/CodeGen/Generic/vector.ll
index bc7c7d00a11..2d8298f8244 100644
--- a/llvm/test/CodeGen/Generic/vector.ll
+++ b/llvm/test/CodeGen/Generic/vector.ll
@@ -154,6 +154,6 @@ define void @splat_i4(%i4* %P, %i4* %Q, i32 %X) {
}
define <2 x i32*> @vector_gep(<2 x [3 x {i32, i32}]*> %a) {
- %w = getelementptr <2 x [3 x {i32, i32}]*> %a, <2 x i32> <i32 1, i32 2>, <2 x i32> <i32 2, i32 3>, <2 x i32> <i32 1, i32 1>
+ %w = getelementptr [3 x {i32, i32}], <2 x [3 x {i32, i32}]*> %a, <2 x i32> <i32 1, i32 2>, <2 x i32> <i32 2, i32 3>, <2 x i32> <i32 1, i32 1>
ret <2 x i32*> %w
}
OpenPOWER on IntegriCloud