[all-commits] [llvm/llvm-project] 75e1cf: [COST]Improve cost model for shuffles in SLP.

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Thu Apr 28 10:06:19 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 75e1cf4a6a87e57da6b87e65121fc608dc4fb721
      https://github.com/llvm/llvm-project/commit/75e1cf4a6a87e57da6b87e65121fc608dc4fb721
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-04-28 (Thu, 28 Apr 2022)

  Changed paths:
    M llvm/include/llvm/Analysis/VectorUtils.h
    M llvm/lib/Analysis/VectorUtils.cpp
    M llvm/lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Analysis/CostModel/X86/reduction.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-non-pow-2.ll
    M llvm/test/Analysis/CostModel/X86/shuffle-single-src.ll
    M llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll

  Log Message:
  -----------
  [COST]Improve cost model for shuffles in SLP.

Introduced masks where they are not added and improved target dependent
cost models to avoid returning of the incorrect cost results after
adding masks.

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




More information about the All-commits mailing list