summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vector-gep.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/vector-gep.ll')
-rw-r--r--llvm/test/CodeGen/X86/vector-gep.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/llvm/test/CodeGen/X86/vector-gep.ll b/llvm/test/CodeGen/X86/vector-gep.ll
index 47878360ca0..4c5c348302b 100644
--- a/llvm/test/CodeGen/X86/vector-gep.ll
+++ b/llvm/test/CodeGen/X86/vector-gep.ll
@@ -114,3 +114,12 @@ entry:
ret <4 x i16*> %A
;CHECK: ret
}
+
+;CHECK-LABEL: AGEP9:
+define <64 x i16*> @AGEP9(i16* %param, <64 x i32> %off) nounwind {
+entry:
+;CHECK: vbroadcastss
+ %A = getelementptr i16, i16* %param, <64 x i32> %off
+ ret <64 x i16*> %A
+;CHECK: ret
+}
OpenPOWER on IntegriCloud