Page MenuHomePhabricator

[CSInfo][MIPS] Don't describe parameters loaded by sub- or super- register copy
ClosedPublic

Authored by ntesic on Jun 17 2020, 3:15 AM.

Details

Summary

When describing parameter value loaded by a COPY instruction, consider case
where needed Reg value is a sub- or super- register of the COPY instruction's
destination register. Without this patch, compile process will crash with
the assertion "TargetInstrInfo::describeLoadedValue can't describe super- or
sub-regs for copy instructions".

Diff Detail

Event Timeline

ntesic created this revision.Jun 17 2020, 3:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 17 2020, 3:15 AM
vsk accepted this revision.Jun 17 2020, 12:50 PM

Lgtm!

This revision is now accepted and ready to land.Jun 17 2020, 12:50 PM
This revision was automatically updated to reflect the committed changes.