This is an archive of the discontinued LLVM Phabricator instance.

[mips] [IAS] Enforce .set nomacro.
ClosedPublic

Authored by tomatabacu on May 7 2015, 8:11 AM.

Details

Summary

When used, ".set nomacro" causes warning messages to be reported when we expand pseudo-instructions to multiple machine instructions.

Diff Detail

Event Timeline

tomatabacu updated this revision to Diff 25188.May 7 2015, 8:11 AM
tomatabacu retitled this revision from to [mips] [IAS] Enforce .set nomacro..
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).
tomatabacu updated this revision to Diff 25197.May 7 2015, 9:21 AM

Fix typo in CHECK-NOT.

dsanders accepted this revision.May 8 2015, 3:33 AM
dsanders edited edge metadata.

LGTM

I'd prefer there to be some CHECK's in test/MC/Mips/set-nomacro-micromips.s rather than just CHECK-NOT's because of the chance of incorrectly passing due to future changes to the message but there currently aren't any microMIPS instructions that can CHECK the message.

This revision is now accepted and ready to land.May 8 2015, 3:33 AM
tomatabacu closed this revision.May 14 2015, 7:55 AM