This is an archive of the discontinued LLVM Phabricator instance.

[mips] Improve support for the .set at/noat assembler directives.
ClosedPublic

Authored by tomatabacu on Jan 26 2015, 5:17 AM.

Details

Summary

Made the following changes:

Added calls to emitDirectiveSetNoAt() and emitDirectiveSetAt().
Added special emit function for .set at=$reg, emitDirectiveSetAtWithArg(unsigned RegNo).
Improved parsing error checks for .set at.
Refactored parser code for .set at.
Improved testing of both directives.
Improved code readability and comments.

Diff Detail

Event Timeline

tomatabacu updated this revision to Diff 18754.Jan 26 2015, 5:17 AM
tomatabacu retitled this revision from to [mips] Improve support for the .set at/noat assembler directives..
tomatabacu updated this object.
tomatabacu edited the test plan for this revision. (Show Details)
tomatabacu added a reviewer: dsanders.
tomatabacu added a subscriber: Unknown Object (MLST).
dsanders accepted this revision.Feb 12 2015, 3:28 AM
dsanders edited edge metadata.

LGTM

This revision is now accepted and ready to land.Feb 12 2015, 3:28 AM
tomatabacu closed this revision.Feb 13 2015, 2:32 AM