This is an archive of the discontinued LLVM Phabricator instance.

[mips][ias] Fix O32 .cprestore directive when inside .set noat region and offset is in range.
ClosedPublic

Authored by dsanders on May 12 2016, 3:21 AM.

Details

Summary

This expands on r269179 to fix an additional case that was not covered by our
tests. The assembler temporary is not needed when the .cprestore offset fits
inside a simm16 and it is not an error to use it inside a '.set noat' in this
case.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 57013.May 12 2016, 3:21 AM
dsanders retitled this revision from to [mips][ias] Fix O32 .cprestore directive when inside .set noat region and offset is in range..
dsanders updated this object.
dsanders added reviewers: emaste, sdardis, seanbruno.
dsanders added a subscriber: llvm-commits.
sdardis accepted this revision.May 12 2016, 5:34 AM
sdardis edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 12 2016, 5:34 AM
dsanders closed this revision.May 12 2016, 7:07 AM