1; RUN: llc < %s -march=x86 -mattr=+sse2 | FileCheck %s 2 3; CHECK: xorps 4define void @foo(<4 x float>* %P) { 5 %T = load <4 x float>* %P ; <<4 x float>> [#uses=1] 6 %S = fadd <4 x float> zeroinitializer, %T ; <<4 x float>> [#uses=1] 7 store <4 x float> %S, <4 x float>* %P 8 ret void 9} 10 11; CHECK: pxor 12define void @bar(<4 x i32>* %P) { 13 %T = load <4 x i32>* %P ; <<4 x i32>> [#uses=1] 14 %S = add <4 x i32> zeroinitializer, %T ; <<4 x i32>> [#uses=1] 15 store <4 x i32> %S, <4 x i32>* %P 16 ret void 17} 18 19