Expand V_SET0 to xorps by default.

The xorps instruction is smaller than pxor, so prefer that encoding.

The ExecutionDepsFix pass will switch the encoding to pxor and xorpd
when appropriate.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143996 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Jakob Stoklund Olesen
2011-11-07 19:15:58 +00:00
parent d83d98d4eb
commit 3e5d5c53a0
8 changed files with 32 additions and 11 deletions

View File

@@ -6,7 +6,7 @@
define void @zero128() nounwind ssp {
entry:
; CHECK: vpxor
; CHECK: vxorps
; CHECK: vmovaps
store <4 x float> zeroinitializer, <4 x float>* @z, align 16
ret void