HomePhabricator

[VectorCombine] forward walk through instructions to improve chaining of…

Authored by spatel on May 16 2020, 10:08 AM.

Description

[VectorCombine] forward walk through instructions to improve chaining of transforms

This is split off from D79799 - where I was proposing to fully iterate
over a function until there are no more transforms. I suspect we are
still going to want to do something like that eventually.

But we can achieve the same gains much more efficiently on the current
set of regression tests just by reversing the order that we visit the
instructions.

This may also reduce the motivation for D79078, but we are still not
getting the optimal pattern for a reduction.

Details

Committed
spatelMay 16 2020, 10:08 AM
Parents
rG43017ceb7841: [PhaseOrdering] add vector reduction tests; NFC
Branches
Unknown
Tags
Unknown