This is an archive of the discontinued LLVM Phabricator instance.

[mips] [IAS] Allow .set assignments for already defined symbols.
ClosedPublic

Authored by tomatabacu on Mar 24 2015, 4:01 AM.

Details

Summary

This is not possible when using the IAS for MIPS, but it is possible when using the IAS for other architectures and when using GAS for MIPS.

Diff Detail

Event Timeline

tomatabacu updated this revision to Diff 22550.Mar 24 2015, 4:01 AM
tomatabacu retitled this revision from to [mips] [IAS] Allow .set assignments for already defined symbols..
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).
dsanders accepted this revision.Mar 31 2015, 5:38 AM
dsanders edited edge metadata.

Please add a test to check that something like:

  .set foo, a
  .set foo, b
a:
  nop
b:

results in foo being an alias for b.

With that test added it will LGTM.

This revision is now accepted and ready to land.Mar 31 2015, 5:38 AM
tomatabacu updated this revision to Diff 23319.Apr 7 2015, 3:33 AM
tomatabacu edited edge metadata.

Added the requested test case.

tomatabacu closed this revision.Apr 7 2015, 7:02 AM