[X86] Make all instructions that operate on MMX types, but were added after the initi...
authorCraig Topper <craig.topper@intel.com>
Tue, 5 Jun 2018 06:20:06 +0000 (06:20 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 5 Jun 2018 06:20:06 +0000 (06:20 +0000)
commitf17b33d6c6678bf2aad114b046b227c3ceaa500e
tree091f904ce7d90655edd2e8fcec980336f24a14e9
parent5eaaff60954f37b6db04319c4a0b65da9cd88d21
[X86] Make all instructions that operate on MMX types, but were added after the initial MMX support via one of the SSE features flags make them require the MMX feature as well.

Passing -mattr=-mmx needs to disable these instructions since the MMX register class won't have been set up. But we don't want -mattr=-mmx to disable SSE so we have to do it separately.

llvm-svn: 333984
llvm/lib/Target/X86/X86InstrFormats.td
llvm/lib/Target/X86/X86InstrMMX.td
llvm/test/CodeGen/X86/pr23246.ll