This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Remove assertion "Shouldn't overwrite a register before it is killed"
ClosedPublic

Authored by Yi-Hong.Lyu on Oct 2 2019, 10:01 AM.

Details

Summary

The assertion is everzealous and fail tests like:

renamable $x3 = LI8 0
STD renamable $x3, 16, $x1
renamable $x3 = LI8 0

Remove the assertion since killed flag of $x3 is not mandentory.

Diff Detail

Event Timeline

Yi-Hong.Lyu created this revision.Oct 2 2019, 10:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 2 2019, 10:01 AM
stefanp accepted this revision as: stefanp.Oct 2 2019, 1:12 PM

Thank you for fixing this.
LGTM.

This revision is now accepted and ready to land.Oct 2 2019, 1:12 PM
This revision was automatically updated to reflect the committed changes.