[PATCH] D110259: [SVE][Analysis] Tune the cost model according to the tune-cpu attribute

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 27 02:52:37 PDT 2021


david-arm updated this revision to Diff 375179.
david-arm edited the summary of this revision.
david-arm added a comment.

- Rebased.
- Now uses a VScaleForTuning property in AArch64Subtarget, which is defined according to the -mcpu/-mtune flags. By default VScaleForTuning is set to 2.


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

https://reviews.llvm.org/D110259

Files:
  llvm/lib/Target/AArch64/AArch64Subtarget.cpp
  llvm/lib/Target/AArch64/AArch64Subtarget.h
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.h
  llvm/test/Analysis/CostModel/AArch64/sve-gather.ll
  llvm/test/Analysis/CostModel/AArch64/sve-intrinsics.ll
  llvm/test/Analysis/CostModel/AArch64/sve-scatter.ll
  llvm/test/Transforms/LoopVectorize/AArch64/sve-strict-fadd-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D110259.375179.patch
Type: text/x-patch
Size: 44604 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210927/ef29864c/attachment.bin>


More information about the llvm-commits mailing list