[all-commits] [llvm/llvm-project] 92fbd7: [SLP]Improve registering and merging of compatible...

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Dec 2 08:49:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 92fbd76af525095197188c862db2c4f5b96a8a73
      https://github.com/llvm/llvm-project/commit/92fbd76af525095197188c862db2c4f5b96a8a73
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-12-02 (Thu, 02 Dec 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/diamond_broadcast_extra_shuffle.ll
    M llvm/test/Transforms/SLPVectorizer/X86/gather-move-out-of-loop.ll

  Log Message:
  -----------
  [SLP]Improve registering and merging of compatible shuffles.

If several shuffle instructions are emitted, some of them might
same/compatible (less defined) with the previously emitted ones. Such
shuffles can be removed safely, improving the total cost of the
vectorized code.

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




More information about the All-commits mailing list