[all-commits] [llvm/llvm-project] d46a6b: [X86][AVX512] Support variable-index vector insert...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Tue Feb 2 03:46:53 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d46a6b3d55e601705184c1f819bd1f498a648ce7
      https://github.com/llvm/llvm-project/commit/d46a6b3d55e601705184c1f819bd1f498a648ce7
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2021-02-02 (Tue, 02 Feb 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ISelLowering.cpp
    M llvm/test/CodeGen/X86/avx512-insert-extract.ll
    M llvm/test/CodeGen/X86/insertelement-var-index.ll

  Log Message:
  -----------
  [X86][AVX512] Support variable-index vector insertion on AVX512 targets (PR47924)

With predicate masks, AVX512 can efficiently perform variable-index vector insertion with 2 broadcasts + 1 comparison, avoiding a lot of aliased memory traffic.

Differential Revision: https://reviews.llvm.org/D95779




More information about the All-commits mailing list