[all-commits] [llvm/llvm-project] 900cc1: [SLP]Improve cost of the gather nodes.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Tue Nov 16 06:26:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 900cc1a226c8b8512fd3d4af90f9d7e5ecc1e722
      https://github.com/llvm/llvm-project/commit/900cc1a226c8b8512fd3d4af90f9d7e5ecc1e722
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2021-11-16 (Tue, 16 Nov 2021)

  Changed paths:
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
    M llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
    M llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

  Log Message:
  -----------
  [SLP]Improve cost of the gather nodes.

No need to count the final shuffle cost for the constants, gathering of
the constants is just a constant vector + extra inserts, if required.

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




More information about the All-commits mailing list