[all-commits] [llvm/llvm-project] bc8c4b: [SLP][TTI][X86]Add addsub pattern cost estimation....

Alexey Bataev via All-commits all-commits at lists.llvm.org
Wed Dec 27 12:57:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bc8c4bbd7973ab9527a78a20000aecde9bed652d
      https://github.com/llvm/llvm-project/commit/bc8c4bbd7973ab9527a78a20000aecde9bed652d
  Author: Alexey Bataev <5361294+alexey-bataev at users.noreply.github.com>
  Date:   2023-12-27 (Wed, 27 Dec 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/Target/X86/X86TargetTransformInfo.cpp
    M llvm/lib/Target/X86/X86TargetTransformInfo.h
    M llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
    M llvm/test/Transforms/SLPVectorizer/X86/supernode.ll
    M llvm/test/Transforms/SLPVectorizer/X86/vectorize-widest-phis.ll

  Log Message:
  -----------
  [SLP][TTI][X86]Add addsub pattern cost estimation. (#76461)

SLP/TTI do not know about the cost estimation for addsub pattern,
supported by X86. Previously the support for pattern detection was added
(seeTTI::isLegalAltInstr), but the cost still did not estimated
properly.




More information about the All-commits mailing list