This is an archive of the discontinued LLVM Phabricator instance.

RenameIndependentSubregs: Fix infinite loop
ClosedPublic

Authored by arsenm on Jun 27 2017, 10:34 AM.

Details

Reviewers
MatzeB
Summary

Apparently this replacement can really be substituting the
same as the original register. Avoid restarting the loop
when there's been no change in the register uses.

Diff Detail

Event Timeline

arsenm created this revision.Jun 27 2017, 10:34 AM
MatzeB accepted this revision.Jun 27 2017, 10:46 AM

LGTM

This revision is now accepted and ready to land.Jun 27 2017, 10:46 AM
arsenm closed this revision.Jun 27 2017, 11:28 AM

r306441