]> granicus.if.org Git - llvm/commit
[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)
commit61044921b4c5b0a01ffcf53e837600605182710f
tree87bd277d08300e6a166870b5391f6967986e39e5
parent878e3df1755f05634052f88e99dd4aeb4a6929dd
[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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372068 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrInfo.cpp
test/CodeGen/X86/avx512-broadcast-unfold.ll