[PATCH] D75525: [TTI][ARM][MVE] Refine gather/scatter cost model

Anna Welker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 4 06:11:38 PST 2020


anwel updated this revision to Diff 248161.
anwel marked 3 inline comments as done.
anwel added a comment.

Implemented some of the changes suggested in comments.

Added the new instruction parameter to the `getIntrinsicInstrCost` version that only gets types, too, so the functions stay roughly in-sync and templates putting `T` instead of Value/Type are unaffected.


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

https://reviews.llvm.org/D75525

Files:
  llvm/include/llvm/Analysis/TargetTransformInfo.h
  llvm/include/llvm/Analysis/TargetTransformInfoImpl.h
  llvm/include/llvm/CodeGen/BasicTTIImpl.h
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
  llvm/lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
  llvm/lib/Target/ARM/ARMTargetTransformInfo.cpp
  llvm/lib/Target/ARM/ARMTargetTransformInfo.h
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.cpp
  llvm/lib/Target/Hexagon/HexagonTargetTransformInfo.h
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.h
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
  llvm/lib/Target/SystemZ/SystemZTargetTransformInfo.h
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h
  llvm/lib/Transforms/Vectorize/LoopVectorize.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Analysis/CostModel/ARM/mve-gather-scatter-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75525.248161.patch
Type: text/x-patch
Size: 66012 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200304/932a61df/attachment.bin>


More information about the llvm-commits mailing list