This is an archive of the discontinued LLVM Phabricator instance.

[LSR] Don't require reuse register under postinc
ClosedPublic

Authored by dmgreen on May 3 2020, 3:07 AM.

Details

Summary

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.

Diff Detail

Event Timeline

dmgreen created this revision.May 3 2020, 3:07 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 3 2020, 3:07 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
qcolombet accepted this revision.May 4 2020, 9:44 AM
This revision is now accepted and ready to land.May 4 2020, 9:44 AM
sgundapa accepted this revision.May 5 2020, 7:59 AM
This revision was automatically updated to reflect the committed changes.