1. [SLP] Look-ahead operand reordering heuristic. (details)
Commit 6a18a9548761b266b28a49f705a568677c24b59b by vasileios.porpodas
[SLP] Look-ahead operand reordering heuristic.
Summary: 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 examples).
Reviewers: RKSimon, ABataev, dtemirbulatov, Ayal, hfinkel, rnk
Reviewed By: RKSimon, dtemirbulatov
Subscribers: xbolva00, Carrot, hiraditya, phosek, rnk, rcorcs,
Tags: #llvm
Differential Revision:
The file was modifiedllvm/lib/Transforms/Vectorize/SLPVectorizer.cpp
The file was modifiedllvm/test/Transforms/SLPVectorizer/AArch64/transpose.ll
The file was modifiedllvm/test/Transforms/SLPVectorizer/X86/lookahead.ll