HomePhabricator

[LV] Try to sink users recursively for first-order recurrences.

Authored by fhahn on May 31 2021, 4:06 AM.

Description

[LV] Try to sink users recursively for first-order recurrences.

Update isFirstOrderRecurrence to explore all uses of a recurrence phi
and check if we can sink them. If there are multiple users to sink, they
are all mapped to the previous instruction.

Fixes PR44286 (and another PR or two).

Reviewed By: Ayal

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

Details

Committed
fhahnMay 31 2021, 11:55 AM
Reviewer
Ayal
Differential Revision
D84951: [LV] Try to sink users recursively for first-order recurrences.
Parents
rG73b759a33a9c: [MLIR] Add dialect prefix to all operations from Math
Branches
Unknown
Tags
Unknown