This is an archive of the discontinued LLVM Phabricator instance.

[mips] Small update to the logic behind the expansion of assembly pseudo instructions.
ClosedPublic

Authored by matheusalmeida on Jun 19 2014, 6:47 AM.

Details

Summary

The functions that do the expansion now return false on success and true otherwise. This is so
we can catch some errors during the expansion (e.g.: immediate too large). The next patch adds some test cases.

Diff Detail

Event Timeline

matheusalmeida retitled this revision from to [mips] Updated the logic behind the expansion of assembly pseudo instructions so that we can catch some errors during the expansion (e.g.: immediate larger than 32-bits)..
matheusalmeida updated this object.
matheusalmeida edited the test plan for this revision. (Show Details)

I'll improve the commit message after your review.

vmedic accepted this revision.Jun 19 2014, 6:58 AM
vmedic edited edge metadata.

LGTM

This revision is now accepted and ready to land.Jun 19 2014, 6:58 AM
matheusalmeida retitled this revision from [mips] Updated the logic behind the expansion of assembly pseudo instructions so that we can catch some errors during the expansion (e.g.: immediate larger than 32-bits). to [mips] Small update to the logic behind the expansion of assembly pseudo instructions..Jun 19 2014, 7:19 AM
matheusalmeida updated this object.
matheusalmeida edited edge metadata.