forked from OSchip/llvm-project
13 lines
310 B
LLVM
13 lines
310 B
LLVM
; 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
|
|
}
|
|
|