[all-commits] [llvm/llvm-project] c5bbde: [X86] Enable masked GPR broadcasts to be formed ev...

topperc via All-commits all-commits at lists.llvm.org
Wed Jun 10 12:45:34 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c5bbdea9e120dda9632a71708a852cb32317ed92
      https://github.com/llvm/llvm-project/commit/c5bbdea9e120dda9632a71708a852cb32317ed92
  Author: Craig Topper <craig.topper at gmail.com>
  Date:   2020-06-10 (Wed, 10 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrAVX512.td
    M llvm/test/CodeGen/X86/avx512-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512bw-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512bwvl-intrinsics-upgrade.ll
    M llvm/test/CodeGen/X86/avx512vl-intrinsics-upgrade.ll

  Log Message:
  -----------
  [X86] Enable masked GPR broadcasts to be formed even if the broadcast has more than one use.

This is a cheap instruction. It's better to repeat it than to do
two separate operations.

There are probably more cases like this, but this one was reported
as a regression in our internal benchmarking.




More information about the All-commits mailing list