This is an archive of the discontinued LLVM Phabricator instance.

[RDA] isSafeToDefRegAt: Look at global uses
ClosedPublic

Authored by samparker on Sep 30 2020, 4:28 AM.

Details

Summary

We weren't looking at global uses of a value, so we could happily overwrite the register incorrectly.

Diff Detail

Event Timeline

samparker created this revision.Sep 30 2020, 4:28 AM
Herald added a project: Restricted Project. · View Herald TranscriptSep 30 2020, 4:28 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
samparker requested review of this revision.Sep 30 2020, 4:28 AM
SjoerdMeijer accepted this revision.Sep 30 2020, 6:03 AM

Looks like a good fix to me.

This revision is now accepted and ready to land.Sep 30 2020, 6:03 AM
This revision was automatically updated to reflect the committed changes.