[PATCH] D145578: [AArch64] Cost-model vector splat LD1Rs to avoid unprofitable SLP vectorisation
Sjoerd Meijer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 13 06:20:36 PDT 2023
SjoerdMeijer updated this revision to Diff 504618.
SjoerdMeijer added a comment.
Thanks, I have restored that piece of logic and added the code-size check to it (and added a code size check to the test).
That means that we now get add an additional cost for TCK_RecipThroughput, as well as for TCK_Latency and TCK_SizeAndLatency.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145578/new/
https://reviews.llvm.org/D145578
Files:
llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
llvm/test/Analysis/CostModel/AArch64/shuffle-load.ll
llvm/test/Transforms/SLPVectorizer/AArch64/slp-fma-loss.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D145578.504618.patch
Type: text/x-patch
Size: 43715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230313/5d6e4f39/attachment.bin>
More information about the llvm-commits
mailing list