This is an archive of the discontinued LLVM Phabricator instance.

[mips] Invalid tests for MTC0, MTC2, MFC0, MFC2, DMTC0, DMFC0 MIPS instructions
ClosedPublic

Authored by hvarga on Mar 10 2016, 5:43 AM.

Details

Summary

While implementing MTC* and MFC* instructions for microMIPSr6, it was observed that some of those instructions don't have invalid tests for their immediate operands.

This patch adds invalid tests for following instructions:

  • MTC0
  • MTC2
  • MFC0
  • MFC2
  • DMTC0
  • DMFC0

Diff Detail

Repository
rL LLVM

Event Timeline

hvarga updated this revision to Diff 50263.Mar 10 2016, 5:43 AM
hvarga retitled this revision from to [mips] Invalid tests for MTC0, MTC2, MFC0, MFC2, DMTC0, DMFC0 MIPS instructions.
hvarga updated this object.
hvarga added subscribers: llvm-commits, petarj, dsanders.
dsanders accepted this revision.Mar 10 2016, 5:50 AM
dsanders edited edge metadata.

LGTM

This revision is now accepted and ready to land.Mar 10 2016, 5:50 AM
This revision was automatically updated to reflect the committed changes.