[PATCH] D115145: [Analysis][AArch64] Add on overhead costs for fixed-width gathers and scatters

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 6 04:56:37 PST 2021


david-arm created this revision.
david-arm added reviewers: sdesmalen, CarolineConcatto, RosieSumpter, dmgreen.
Herald added subscribers: ctetreau, hiraditya, kristof.beyls.
david-arm requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patches increases the cost of fixed-width gathers and scatters that
will end up scalarising anyway. When SVE is enabled the vectoriser will currently
still often favour fixed-width vectorisation for AArch64 with gathers and
scatters even when the scalar loop is actually faster.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115145

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115145.392025.patch
Type: text/x-patch
Size: 16010 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211206/4c1a32b6/attachment.bin>


More information about the llvm-commits mailing list