aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/avx-256.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/X86/avx-256.ll')
-rw-r--r--test/CodeGen/X86/avx-256.ll9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/X86/avx-256.ll b/test/CodeGen/X86/avx-256.ll
index 244bf98..337f142 100644
--- a/test/CodeGen/X86/avx-256.ll
+++ b/test/CodeGen/X86/avx-256.ll
@@ -24,3 +24,12 @@ allocas:
float>* %ptr2vec615, align 32
ret void
}
+
+; CHECK: vpcmpeqd
+; CHECK: vinsertf128 $1
+define void @ones2([0 x i32]* nocapture %RET, [0 x i32]* nocapture %aFOO) nounwind {
+allocas:
+ %ptr2vec615 = bitcast [0 x i32]* %RET to <8 x i32>*
+ store <8 x i32> <i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1, i32 -1>, <8 x i32>* %ptr2vec615, align 32
+ ret void
+}