aboutsummaryrefslogtreecommitdiffstats
path: root/test/Assembler/getelementptr_vec_idx2.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Assembler/getelementptr_vec_idx2.ll')
-rw-r--r--test/Assembler/getelementptr_vec_idx2.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Assembler/getelementptr_vec_idx2.ll b/test/Assembler/getelementptr_vec_idx2.ll
index 8b71ce3..638fcb8 100644
--- a/test/Assembler/getelementptr_vec_idx2.ll
+++ b/test/Assembler/getelementptr_vec_idx2.ll
@@ -5,6 +5,6 @@
; CHECK: getelementptr index type missmatch
define <2 x i32> @test(<2 x i32*> %a) {
- %w = getelementptr <2 x i32*> %a, i32 2
+ %w = getelementptr i32, <2 x i32*> %a, i32 2
ret <2 x i32> %w
}