[X86] Allow masked VBROADCAST instructions to be turned into BLENDM with a broadcast...
authorCraig Topper <craig.topper@intel.com>
Tue, 17 Sep 2019 04:41:10 +0000 (04:41 +0000)
committerCraig Topper <craig.topper@intel.com>
Tue, 17 Sep 2019 04:41:10 +0000 (04:41 +0000)
commit769dd59a27e5fb110c2d88d865bcd5f223a4f612
tree8e3d16e057c5cd2dc676f6bd2f375c6b1c8ae7a6
parent2cc57bedd51b99c99cfaaa8aa5910248d68bf1c0
[X86] Allow masked VBROADCAST instructions to be turned into BLENDM with a broadcast load to avoid a copy.

The BLENDM instructions allow an 2 sources and an independent
destination while masked VBROADCAST has the destination tied
to the source.

llvm-svn: 372068
llvm/lib/Target/X86/X86InstrAVX512.td
llvm/lib/Target/X86/X86InstrInfo.cpp
llvm/test/CodeGen/X86/avx512-broadcast-unfold.ll