Expand V_SET0 to xorps by default.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 7 Nov 2011 19:15:58 +0000 (19:15 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Mon, 7 Nov 2011 19:15:58 +0000 (19:15 +0000)
commit3e5d5c53a03e4a08cdb67f8a7f44567f925be9a5
treed761303159d13fca2351a75150a2e00d28c58ee6
parentd83d98d4eb9595a88b830f5e3f5c6c24fae80df1
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
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx-basic.ll
test/CodeGen/X86/sse2-blend.ll
test/CodeGen/X86/sse2.ll
test/CodeGen/X86/vec_return.ll
test/CodeGen/X86/vec_zero.ll
test/CodeGen/X86/vec_zero_cse.ll
test/CodeGen/X86/xor.ll