[all-commits] [llvm/llvm-project] 4c2299: [TTI] Add X86 target specific version of getPointe...

Valery Dmitriev via All-commits all-commits at lists.llvm.org
Thu Mar 16 10:27:09 PDT 2023


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

  Changed paths:
    M llvm/lib/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    M llvm/test/Transforms/SLPVectorizer/X86/remark_horcost.ll
    M llvm/test/Transforms/SLPVectorizer/X86/remark_not_all_parts.ll

  Log Message:
  -----------
  [TTI] Add X86 target specific version of getPointersChainCost.

When all the pointers are off the same base address and have known
distances to each other these differences can be encoded into displacements
in x86 arch. So the only cost that matters is cost of the base GEP.

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




More information about the All-commits mailing list