HomePhabricator

[SLP] Look-ahead operand reordering heuristic.

Authored by RKSimon on Jun 21 2019, 10:57 AM.

Description

[SLP] Look-ahead operand reordering heuristic.

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).

Committed on behalf of @vporpo (Vasileios Porpodas)

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

llvm-svn: 364084

Details

Committed
RKSimonJun 21 2019, 10:57 AM
Differential Revision
D60897: [SLP] Look-ahead operand reordering heuristic.
Parents
rG2441a4074c19: [NFC] Update shl-sub tests
Branches
Unknown
Tags
Unknown