This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Fix inaccurate annotations on PseudoBRIND
ClosedPublic

Authored by lewis-revill on Aug 20 2020, 6:34 AM.

Details

Summary

PseudoBRIND had seemingly inherited incorrect annotations denoting it as a call instruction and that it defines X1/ra. This caused excess save/restore code to be emitted for ra.

Diff Detail

Event Timeline

lewis-revill created this revision.Aug 20 2020, 6:34 AM
lewis-revill requested review of this revision.Aug 20 2020, 6:34 AM
lenary accepted this revision.Aug 20 2020, 9:06 AM

LGTM! Nice Catch!

This revision is now accepted and ready to land.Aug 20 2020, 9:06 AM
asb accepted this revision.Aug 21 2020, 2:30 AM
This revision was automatically updated to reflect the committed changes.