On AVX/AVX2 the type v8i1 is legalized to v8i16, which is an XMM sized
[oota-llvm.git] / test / CodeGen / X86 / 2009-06-05-ScalarToVectorByteMMX.ll
1 ; RUN: llc < %s -march=x86 -mtriple=i386-linux-gnu -mattr=+mmx,+sse2 | not grep movl
2
3 define <8 x i8> @a(i8 zeroext %x) nounwind {
4   %r = insertelement <8 x i8> undef, i8 %x, i32 0
5   ret <8 x i8> %r
6 }
7