OSDN Git Service

[X86] Synchronize a pattern between SSE1 and AVX/AVX512.
authorCraig Topper <craig.topper@intel.com>
Sun, 17 Sep 2017 18:59:32 +0000 (18:59 +0000)
committerCraig Topper <craig.topper@intel.com>
Sun, 17 Sep 2017 18:59:32 +0000 (18:59 +0000)
commit5cd36ff15cd531ab5444f12c68838c1dedfb7ce6
treee80e5294e745e4a01d9ccff38ca380f7c45aa350
parentfafcf424107364297b71d9bf939d7d22d996a88b
[X86] Synchronize a pattern between SSE1 and AVX/AVX512.

For some reason the SSE1 pattern expected a X86Movlhps pattern to have a v4f32 type, but AVX and AVX512 expected it to have a v4i32 type.

I'm not even sure this pattern is even reachable post SSE1, but I'm starting with fixing this obvious bug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313495 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrSSE.td