[PATCH] D81643: [NFCI][CostModel] Unify ExtractElement cost.

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 11 03:37:25 PDT 2020


samparker created this revision.
samparker added reviewers: dfukalov, arsenm, RKSimon, spatel.
Herald added subscribers: kerbowa, hiraditya, tpr, nhaehnle, wdng, jvesely.
Herald added a project: LLVM.

Move the cost modelling, with the reduction pattern matching, from getInstructionThroughput into generic TTIImpl::getUserCost. The modelling in the AMDGPU backend can now be removed.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D81643

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D81643.270094.patch
Type: text/x-patch
Size: 17097 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200611/ed50fd29/attachment.bin>


More information about the llvm-commits mailing list