HomePhabricator

[SLP] Look-ahead operand reordering heuristic.

Authored by vporpo on Jun 26 2019, 2:25 PM.

Description

[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 an example).

Reviewers: RKSimon, ABataev, dtemirbulatov, Ayal, hfinkel, rnk

Reviewed By: RKSimon, dtemirbulatov

Subscribers: rnk, rcorcs, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D60897

llvm-svn: 364478

Details

Committed
vporpoJun 26 2019, 2:25 PM
Reviewer
RKSimon
Differential Revision
D60897: [SLP] Look-ahead operand reordering heuristic.
Parents
rGb5999f17d4fc: [InstCombine] change 'tmp' variable names; NFC
Branches
Unknown
Tags
Unknown