[PATCH] D148362: [SLP]Fix cost estimation for buildvectors with extracts and/or constants.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 08:52:29 PDT 2023


ABataev updated this revision to Diff 514658.
ABataev added a comment.

Restored original extractcost calculation, reworked estimation of the buildvector with non-undef initial vector.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148362

Files:
  llvm/lib/Target/AArch64/AArch64TargetTransformInfo.cpp
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/AArch64/extractelements-to-shuffle.ll
  llvm/test/Transforms/SLPVectorizer/AArch64/fshl.ll
  llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148362.514658.patch
Type: text/x-patch
Size: 16821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230418/f0a83bb6/attachment.bin>


More information about the llvm-commits mailing list