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

Andrew V. Tischenko via All-commits all-commits at lists.llvm.org
Wed Apr 27 10:58:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29a470e3804ca216d4e76c88a38086eb61c200f9
      https://github.com/llvm/llvm-project/commit/29a470e3804ca216d4e76c88a38086eb61c200f9
  Author: Alexey Bataev <a.bataev at outlook.com>
  Date:   2022-04-27 (Wed, 27 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-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