[PATCH] D127342: [TargetTransformInfo] Added an option for the cache line size

Congzhe Cao via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 15 20:42:11 PDT 2022


congzhe updated this revision to Diff 437430.
congzhe edited the summary of this revision.
congzhe added reviewers: Meinersbur, LoopOptWG.
congzhe added a comment.
Herald added subscribers: kbarton, nemanjai.

According to the discussion in the loopopt meeting, I've updated the patch such that the `-ppc-loop-prefetch-cache-line` option in powerpc is removed and generalized into the option in TTI that overrides the default and target-specific cacheline size. A powerpc codegen test is updated accordingly.

Summary of this patch is also updated to address a previous comment from Bardia.


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

https://reviews.llvm.org/D127342

Files:
  llvm/lib/Analysis/TargetTransformInfo.cpp
  llvm/lib/Target/PowerPC/PPCTargetTransformInfo.cpp
  llvm/test/Analysis/LoopCacheAnalysis/compute-cost.ll
  llvm/test/CodeGen/PowerPC/ppc64-get-cache-line-size.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127342.437430.patch
Type: text/x-patch
Size: 9834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220616/e1b295f2/attachment.bin>


More information about the llvm-commits mailing list