This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][Falkor] Fix bug in Falkor HWPF collision avoidance pass.
ClosedPublic

Authored by gberry on Apr 10 2018, 1:26 PM.

Details

Summary

When inserting MOVs to avoid Falkor HWPF collisions, the non-base
register operand of load instructions (e.g. a register offset) was not
being considered live, so it could potentially have been used as a
scratch register, clobbering the actual offset value.

Diff Detail

Repository
rL LLVM

Event Timeline

gberry created this revision.Apr 10 2018, 1:26 PM
mcrosier accepted this revision.Apr 10 2018, 1:39 PM

LGTM. Thanks, Geoff. It would be nice to get this into the 6.0.1 release, if at all possible.

This revision is now accepted and ready to land.Apr 10 2018, 1:39 PM
This revision was automatically updated to reflect the committed changes.