This is an archive of the discontinued LLVM Phabricator instance.

[MIPS GlobalISel] Fix check for void return during lowerCall
ClosedPublic

Authored by Petar.Avramovic on Jul 26 2019, 1:05 AM.

Details

Summary

Void return used to have unsigned with value 0 for virtual register
but with addition of Register class and changes to arguments to lowerCall
this is no longer valid.
Check for void return by inspecting the Ty field in OrigRet.

Diff Detail

Repository
rL LLVM

Event Timeline

rovka accepted this revision.Jul 26 2019, 1:07 AM

LGTM

This revision is now accepted and ready to land.Jul 26 2019, 1:07 AM

Thanks for review.

This revision was automatically updated to reflect the committed changes.