This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] fixup killed flags for ri + addi to ri transformation
ClosedPublic

Authored by shchenz on Apr 7 2021, 12:15 AM.

Details

Summary

Fixup killed flags if DefMI and MI are not in the same basic blocks.

We may still get some verify errors if DefMI and MI are not in same basic blocks. For example, if the killed flag is not in the DefMI, instead it is in another instruction which is in the same BB with DefMI but not in the same BB with MI. This patch is just to fix one of them. That's why we keep the FIXME near the changes.

Diff Detail

Event Timeline

shchenz created this revision.Apr 7 2021, 12:15 AM
shchenz requested review of this revision.Apr 7 2021, 12:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 7 2021, 12:15 AM
shchenz edited the summary of this revision. (Show Details)Apr 7 2021, 12:17 AM
shchenz edited the summary of this revision. (Show Details)Apr 7 2021, 12:19 AM
nemanjai accepted this revision.Apr 7 2021, 2:09 AM

LGTM. Thanks for the quick fix.

This revision is now accepted and ready to land.Apr 7 2021, 2:09 AM