This is an archive of the discontinued LLVM Phabricator instance.

[mips][ias] Split expandMemInst between MipsAsmParser and MipsTargetStreamer. Almost NFC.
ClosedPublic

Authored by dsanders on Apr 29 2016, 1:33 AM.

Details

Summary

The portion in MipsAsmParser is responsible for figuring out which expansion to
use, while the portion in MipsTargetStreamer is responsible for emitting it.

This allows us to remove the call to isIntegratedAssemblerRequired() which is
currently ensuring the effect of .cprestore only occurs when writing objects.

The small functional change is that the memory offsets are now correctly
printed as signed values.

Depends on D19712.

Diff Detail

Repository
rL LLVM

Event Timeline

dsanders updated this revision to Diff 55545.Apr 29 2016, 1:33 AM
dsanders retitled this revision from to [mips][ias] Split expandMemInst between MipsAsmParser and MipsTargetStreamer. Almost NFC..
dsanders updated this object.
dsanders added a reviewer: sdardis.
dsanders added a subscriber: llvm-commits.
sdardis accepted this revision.Apr 29 2016, 5:57 AM
sdardis edited edge metadata.

LGTM.

This revision is now accepted and ready to land.Apr 29 2016, 5:57 AM
dsanders closed this revision.Apr 29 2016, 6:49 AM
This revision was automatically updated to reflect the committed changes.