[PATCH] D60897: [SLP] Look-ahead operand reordering heuristic.

Vasileios Porpodas via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 18 16:39:17 PDT 2019


vporpo created this revision.
vporpo added reviewers: RKSimon, ABataev, dtemirbulatov, Ayal, hfinkel.
vporpo added a project: LLVM.
Herald added a subscriber: llvm-commits.

This patch introduces a new heuristic for guiding operand reordering. The new "look-ahead" heuristic can look beyond the immediate predecessors. This helps break ties when the immediate predecessors have identical opcodes (see lit test for an example).


Repository:
  rL LLVM

https://reviews.llvm.org/D60897

Files:
  lib/Transforms/Vectorize/SLPVectorizer.cpp
  test/Transforms/SLPVectorizer/X86/lookahead.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D60897.195824.patch
Type: text/x-patch
Size: 11733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190418/d4a363b9/attachment.bin>


More information about the llvm-commits mailing list