[PATCH] D114880: [LoopVectorize][AArch64] Add vectoriser cost model tests for gathers/scatters

David Sherwood via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 1 08:12:24 PST 2021


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

I've added some tests that were previously missing for the gather-scatter costs
being calculated by the vectorizer for AArch64:

  Transforms/LoopVectorize/AArch64/sve-gather-scatter-cost.ll

The costs are sometimes different to the ones in

  Analysis/CostModel/AArch64/sve-gather.ll

because the vectorizer also adds on the address computation cost.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D114880

Files:
  llvm/test/Transforms/LoopVectorize/AArch64/sve-gather-scatter-cost.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114880.391031.patch
Type: text/x-patch
Size: 10069 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211201/18064646/attachment.bin>


More information about the llvm-commits mailing list