[X86] Remove some patterns that seems to be unreachable.
authorCraig Topper <craig.topper@intel.com>
Mon, 9 Jul 2018 16:03:01 +0000 (16:03 +0000)
committerCraig Topper <craig.topper@intel.com>
Mon, 9 Jul 2018 16:03:01 +0000 (16:03 +0000)
commit16ee4b4957789e3d5d1cff2180053c70155a227b
tree3ee271cb66028010a3a9263eafb61b0cce078848
parent22330c700b4769fe476e541b0afbdcf08197df01
[X86] Remove some patterns that seems to be unreachable.

These patterns mapped (v2f64 (X86vzmovl (v2f64 (scalar_to_vector FR64:$src)))) to a MOVSD and an zeroing XOR. But the complexity of a pattern for (v2f64 (X86vzmovl (v2f64))) that selects MOVQ is artificially and hides this MOVSD pattern.

Weirder still, the SSE version of the pattern was explicitly blocked on SSE41, but yet we had copied it to AVX and AVX512.

llvm-svn: 336556
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrSSE.td