This is an archive of the discontinued LLVM Phabricator instance.

[mips] Fix return lowering
ClosedPublic

Authored by sdardis on Feb 17 2017, 5:51 AM.

Details

Reviewers
slthakur
Summary

Fix a machine verifier issue where a instruction was using a invalid
register. The return pseudo is expanded and has the return address
register added to it. The return register may have been spuriously
mark as killed earlier.

This partially resolves PR/27458

Thanks to Quentin Colombet for reporting the issue!

Event Timeline

sdardis created this revision.Feb 17 2017, 5:51 AM
slthakur accepted this revision.Mar 7 2017, 2:31 AM

LGTM

This revision is now accepted and ready to land.Mar 7 2017, 2:31 AM
sdardis closed this revision.Mar 14 2017, 6:24 AM

Thanks for the review. rL297372.