aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86/vec_align_i256.ll
blob: 44ca5c5c8e3f9bb66e815cd700d4f6dddac99663 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -mcpu=corei7-avx | FileCheck %s 

; Make sure that we are not generating a movaps because the vector is aligned to 1.
;CHECK: @foo
;CHECK: xor
;CHECK-NEXT: vmovups
;CHECK-NEXT: ret
define void @foo() {
  store <16 x i16> zeroinitializer, <16 x i16>* undef, align 1
  ret void
}