[all-commits] [llvm/llvm-project] f9b438: [SLP] Outline GEP chain cost modeling into new TTI...

Valery Dmitriev via All-commits all-commits at lists.llvm.org
Tue Mar 14 14:01:54 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f9b438b519716febaddb72c774b02a01225bd712
      https://github.com/llvm/llvm-project/commit/f9b438b519716febaddb72c774b02a01225bd712
  Author: Valery N Dmitriev <valery.n.dmitriev at intel.com>
  Date:   2023-03-14 (Tue, 14 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
    M llvm/lib/Analysis/TargetTransformInfo.cpp
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

  Log Message:
  -----------
  [SLP] Outline GEP chain cost modeling into new TTI interface - NFCI.

Cost modeling for GEPs should actually be target dependent but is currently
done inside SLP target-independent way.
Sinking it into TTI enables target dependent implementation.
This patch adds new TTI interface and implementation of the basic functionality
trying to retain existing cost modeling.

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




More information about the All-commits mailing list