[x86] Give movss and movsd execution domains in the x86 backend.
authorChandler Carruth <chandlerc@gmail.com>
Wed, 4 Feb 2015 10:58:53 +0000 (10:58 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 4 Feb 2015 10:58:53 +0000 (10:58 +0000)
commitb0589710ccf2b5945f5ea646e404cb6f6d36014a
treecf478a394420fe003e49a553f52ec3fd15c18099
parent886bbe2d766c8a36ab48ac1b32e5e2ddce2e950d
[x86] Give movss and movsd execution domains in the x86 backend.

This associates movss and movsd with the packed single and packed double
execution domains (resp.). While this is largely cosmetic, as we now
don't have weird ping-pong-ing between single and double precision, it
is also useful because it avoids the domain fixing algorithm from seeing
domain breaks that don't actually exist. It will also be much more
important if we have an execution domain default other than packed
single, as that would cause us to mix movss and movsd with integer
vector code on a regular basis, a very bad mixture.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228135 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFormats.td
lib/Target/X86/X86InstrSSE.td
test/CodeGen/X86/sse2.ll
test/CodeGen/X86/uint_to_fp-2.ll
test/CodeGen/X86/vector-blend.ll
test/CodeGen/X86/vector-shuffle-128-v2.ll
test/CodeGen/X86/vector-shuffle-128-v4.ll
test/CodeGen/X86/vector-shuffle-256-v4.ll
test/CodeGen/X86/vector-shuffle-combining.ll
test/CodeGen/X86/vselect-2.ll
test/CodeGen/X86/vselect.ll