On AVX/AVX2 the type v8i1 is legalized to v8i16, which is an XMM sized
[oota-llvm.git] / test / CodeGen / X86 / vec_set-9.ll
1 ; RUN: llc < %s -march=x86-64 | grep movd | count 1
2 ; RUN: llc < %s -march=x86-64 | grep "movlhps.*%xmm0, %xmm0"
3
4 define <2 x i64> @test3(i64 %A) nounwind {
5 entry:
6         %B = insertelement <2 x i64> undef, i64 %A, i32 1
7         ret <2 x i64> %B
8 }
9