This is an archive of the discontinued LLVM Phabricator instance.

[mips] Correct the instruction predicates for microMIPSr3
ClosedPublic

Authored by sdardis on Oct 2 2017, 2:26 AM.

Details

Summary

Rather than using the AdditionalPredicates mechanism to guard
the microMIPS instructions, use the existing predicates to properly
guard those instructions.

This also resolves a case where an instruction pattern was incorrectly
available for microMIPS32R6, which caused a register allocation failure
as the registers specified in the pattern were not available.

Diff Detail

Repository
rL LLVM

Event Timeline

sdardis created this revision.Oct 2 2017, 2:26 AM
This revision is now accepted and ready to land.Oct 2 2017, 8:15 AM
This revision was automatically updated to reflect the committed changes.