aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/avx-128.ll
blob: 2bd3b5dfedd66d9cd5a9aba5308f4ed0ec790a69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: llc < %s -mtriple=x86_64-apple-darwin -march=x86 -mcpu=corei7 -mattr=avx | FileCheck %s

@z = common global <4 x float> zeroinitializer, align 16

define void @zero() nounwind ssp {
entry:
  ; CHECK: vxorps
  ; CHECK: vmovaps
  store <4 x float> zeroinitializer, <4 x float>* @z, align 16
  ret void
}