HomePhabricator

[LSR] Don't require register reuse under postinc

Authored by dmgreen on Mon, May 4, 11:15 PM.

Description

[LSR] Don't require register reuse under postinc

LSR has some logic that tries to aggressively reuse registers in
formula. This can lead to sub-optimal decision in complex loops where
the backend it trying to use shouldFavorPostInc. This disables the
re-use in those situations.

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

Details