[X86] Remove a redundant COPY_TO_REGCLASS for VK16 after a KMOVWkr in an isel output...
authorCraig Topper <craig.topper@intel.com>
Tue, 25 Aug 2020 22:16:50 +0000 (15:16 -0700)
committerCraig Topper <craig.topper@intel.com>
Tue, 25 Aug 2020 22:19:27 +0000 (15:19 -0700)
commitba319ac47eeabc44673513ec7ab9e1e8e3b4ec69
treef915703ee9209536be92b8ca69240ee97756b989
parent22cd6bee4a7d2cd106efe2879cc16ef94b671de1
[X86] Remove a redundant COPY_TO_REGCLASS for VK16 after a KMOVWkr in an isel output pattern.

KMOVWkr produces VK16, there's no reason to copy it to VK16 again.

Test changes are presumably because we were scheduling based on
the COPY that is no longer there.
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/test/CodeGen/X86/avx512-ext.ll
llvm/test/CodeGen/X86/avx512-insert-extract.ll
llvm/test/CodeGen/X86/avx512-mask-op.ll
llvm/test/CodeGen/X86/avx512-vec-cmp.ll
llvm/test/CodeGen/X86/vec_saddo.ll
llvm/test/CodeGen/X86/vec_smulo.ll
llvm/test/CodeGen/X86/vec_ssubo.ll
llvm/test/CodeGen/X86/vec_uaddo.ll
llvm/test/CodeGen/X86/vec_umulo.ll
llvm/test/CodeGen/X86/vec_usubo.ll