This is an archive of the discontinued LLVM Phabricator instance.

[mips] Improve encapsulation of .MIPS.abiflags implementation and limit scope of related enums
ClosedPublic

Authored by dsanders on Jul 4 2014, 1:53 AM.

Details

Summary

Also merged two very similar parser functions and fixed a bug where ASE's
were not being reported and mark CPR1's as being 128-bit when MSA is
enabled.

Diff Detail

Event Timeline

dsanders updated this revision to Diff 11079.Jul 4 2014, 1:53 AM
dsanders retitled this revision from to [mips] Improve encapsulation of .MIPS.abiflags implementation and limit scope of related enums.
dsanders updated this object.
dsanders edited the test plan for this revision. (Show Details)
dsanders added reviewers: vmedic, mpf.
mpf added inline comments.Jul 4 2014, 3:38 AM
lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h
76

This is different to how the rest of the AFL values are named. The value should be called AFL_FLAGS1_ODDSPREG for consistency

dsanders updated this revision to Diff 11148.Jul 8 2014, 2:51 AM

Rebased and extracted from my branch. This removes the AFL_FLAGS1 enum which will
return (with Matthews comments taken into account) in my -modd-spreg patch

vmedic accepted this revision.Jul 8 2014, 2:55 AM
vmedic edited edge metadata.

LGTM with a nit, Matthew may be right with a naming convention.

This revision is now accepted and ready to land.Jul 8 2014, 2:55 AM

Thanks.

That enum is no longer added in this patch after extracting it from my branch but it will be added by D4383 instead (with the correct name) once I update it.

dsanders closed this revision.Jul 8 2014, 3:19 AM