[all-commits] [llvm/llvm-project] b23277: [SLP] Add detection of shuffled/perfect matching o...

cilkplus via All-commits all-commits at lists.llvm.org
Tue Apr 20 06:57:24 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b232771acad6225574a2eaf9f860a0fed7ef0804
      https://github.com/llvm/llvm-project/commit/b232771acad6225574a2eaf9f860a0fed7ef0804
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-04-20 (Tue, 20 Apr 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/gather-cost.ll
    M llvm/test/Transforms/SLPVectorizer/X86/matched-shuffled-entries.ll

  Log Message:
  -----------
  [SLP] Add detection of shuffled/perfect matching of tree entries.

SLP supports perfect diamond matching for the vectorized tree entries
but do not support it for gathered entries and does not support
non-perfect (shuffled) matching with 1 or 2 tree entries. Patch adds
support for this matching to improve cost of the vectorized tree.

Reviewed By: RKSimon

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




More information about the All-commits mailing list