[PATCH] D79002: [NFC][CostModel] Add TargetCostKind to relevant APIs

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 1 00:06:08 PDT 2020


samparker marked an inline comment as done.
samparker added a comment.

Mail thread: http://lists.llvm.org/pipermail/llvm-dev/2020-April/141263.html



================
Comment at: llvm/include/llvm/Analysis/TargetTransformInfo.h:926
                       unsigned AddressSpace,
+                      TTI::TargetCostKind CostKind,
                       const Instruction *I = nullptr) const;
----------------
mtrofin wrote:
> Why not also default value CostKind here, too?
Just because I really wasn't sure what it should be.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D79002





More information about the llvm-commits mailing list