[PATCH] D110100: [NFCI][CodeGen, AArch64] Fix inconsistent TargetCostKind types.

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 01:41:00 PDT 2021


fhahn added a comment.

Looks reasonable in general, thanks!

> default cost kind for all targets override getInterleavedMemoryOpCost() is TCK_SizeAndLatency

Interesting, it looks like the top-level define in TTI defaults to `TTI::TCK_RecipThroughput`, so should this trump the default in the target-specific defines?

https://github.com/llvm/llvm-project/blob/main/llvm/include/llvm/Analysis/TargetTransformInfo.h#L1155


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D110100



More information about the llvm-commits mailing list