[PATCH] D84594: [X86] Move getGatherOverhead/getScatterOverhead into X86TargetTransformInfo.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 25 23:35:12 PDT 2020


craig.topper created this revision.
craig.topper added reviewers: RKSimon, spatel.
Herald added a subscriber: hiraditya.
Herald added a project: LLVM.

These cost methods don't make much sense in X86Subtarget. Make
them methods in X86's TTI and move the feature checks from the
X86Subtarget constructor into these methods.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D84594

Files:
  llvm/lib/Target/X86/X86Subtarget.cpp
  llvm/lib/Target/X86/X86Subtarget.h
  llvm/lib/Target/X86/X86TargetTransformInfo.cpp
  llvm/lib/Target/X86/X86TargetTransformInfo.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D84594.280705.patch
Type: text/x-patch
Size: 4358 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200726/ba51da64/attachment.bin>


More information about the llvm-commits mailing list