[PATCH] D126432: [SLP][TTI][X86] Implement addsub cost calculation.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 26 17:46:26 PDT 2022


vporpo updated this revision to Diff 432432.
vporpo added a comment.

Moved the cost calculation code from getShuffleCost() to a separate function: getAltInstrCost().


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D126432/new/

https://reviews.llvm.org/D126432

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D126432.432432.patch
Type: text/x-patch
Size: 12009 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220527/1ed98bd7/attachment.bin>


More information about the llvm-commits mailing list