[all-commits] [llvm/llvm-project] 30463b: [SLP]Do not count perfect diamond matches for gath...

cilkplus via All-commits all-commits at lists.llvm.org
Mon May 10 07:10:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30463bc3f1839e8a238be4c137e2356f3cca2771
      https://github.com/llvm/llvm-project/commit/30463bc3f1839e8a238be4c137e2356f3cca2771
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

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

  Log Message:
  -----------
  [SLP]Do not count perfect diamond matches for gathers several times.

Need to remove the old code for avoiding double counting of the gather
nodes with perfect diamond matches within the tree after we started
detecting perfect/shuffled matching in the previous patch D100495. We
may skip the cost for such nodes completely.

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




More information about the All-commits mailing list