aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/avx-128.ll
blob: a72160be719ac02cb306a648f55805bbf0f8642d (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: vpxor
  ; CHECK: vmovaps
  store <4 x float> zeroinitializer, <4 x float>* @z, align 16
  ret void
}