44ca5c5c8e3f9bb66e815cd700d4f6dddac99663
[oota-llvm.git] / test / CodeGen / X86 / vec_align_i256.ll
1 ; RUN: llc < %s -mcpu=corei7-avx | FileCheck %s 
2
3 ; Make sure that we are not generating a movaps because the vector is aligned to 1.
4 ;CHECK: @foo
5 ;CHECK: xor
6 ;CHECK-NEXT: vmovups
7 ;CHECK-NEXT: ret
8 define void @foo() {
9   store <16 x i16> zeroinitializer, <16 x i16>* undef, align 1
10   ret void
11 }