[PATCH] D103629: [AArch64] Cost-model i8 vector loads/stores

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 2 01:31:39 PDT 2021


SjoerdMeijer updated this revision to Diff 356127.
SjoerdMeijer added a comment.

This fixes the trunc or ext check.

As a result, there was this check in `llvm/test/Analysis/CostModel/AArch64/store.ll` in the previous revision:

  Found an estimated cost of 64 for instruction: store <32 x i8> undef, <32 x i8>* undef, align 4

but that cost is now back to 2, i.e. it remains unchanged with this patch.


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

https://reviews.llvm.org/D103629

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/test/Analysis/CostModel/AArch64/cast.ll
  llvm/test/Analysis/CostModel/AArch64/mem-op-cost-model.ll
  llvm/test/Analysis/CostModel/AArch64/store.ll
  llvm/test/Transforms/LoopVectorize/AArch64/extend-vectorization-factor-for-unprofitable-memops.ll
  llvm/test/Transforms/LoopVectorize/AArch64/interleaved-vs-scalar.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/gather-root.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/loadi8.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103629.356127.patch
Type: text/x-patch
Size: 20590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210702/191bb43f/attachment.bin>


More information about the llvm-commits mailing list