[PATCH] D113770: [SLP]Improve cost of the gather nodes.

Alexey Bataev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 06:49:20 PST 2021


ABataev created this revision.
ABataev added reviewers: RKSimon, spatel, anton-afanasyev, dtemirbulatov.
Herald added a subscriber: hiraditya.
ABataev requested review of this revision.
Herald added a project: LLVM.

No need to count the final shuffle cost for the constants, gathering of
the constants is just a constant vector + extra inserts, if required.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113770

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/AArch64/horizontal.ll
  llvm/test/Transforms/SLPVectorizer/X86/PR39774.ll
  llvm/test/Transforms/SLPVectorizer/X86/reduction-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113770.386838.patch
Type: text/x-patch
Size: 7105 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211112/83ab0f3a/attachment.bin>


More information about the llvm-commits mailing list