[PATCH] D125287: [SLP] Improve root steering by building actual trees instead of calling the look-ahead heuristic

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 20:15:57 PDT 2022


vporpo created this revision.
vporpo added reviewers: vdmitrie, ABataev.
Herald added a subscriber: hiraditya.
Herald added a project: All.
vporpo requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Finding the best roots using the lookahead heuristic is not as accurate as
building short trees and comparing their cost.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D125287

Files:
  llvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
  llvm/test/Transforms/SLPVectorizer/X86/vectorize-pair-path.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D125287.428277.patch
Type: text/x-patch
Size: 6914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220510/44e2a3c9/attachment.bin>


More information about the llvm-commits mailing list