This is an archive of the discontinued LLVM Phabricator instance.

Virtualize createMCAsmInfo and add MCTargetMachine subclasses.
AbandonedPublic

Authored by dsanders on Oct 19 2015, 5:52 AM.

Details

Reviewers
tstellarAMD
Summary

This allows each MCTargetMachine to pass different information to their
MCAsmInfo subclasses. Each target has been updated to do this.

It also removes the need for each target to register their MCAsmInfo
subclasses since registering MCTargetMachine accomplishes this.

Target-specific changes:

  • Sparc: There were two create*MCAsmInfo() functions which were identical aside from one constant. These constructors have been merged together while preserving this difference.
  • Mips: Areas where checking for 64-bit is incorrect have been marked with FIXME comments.

Depends on D13860

Diff Detail

Event Timeline

dsanders updated this revision to Diff 37744.Oct 19 2015, 5:52 AM
dsanders retitled this revision from to Virtualize createMCAsmInfo and add MCTargetMachine subclasses..
dsanders updated this object.
dsanders added subscribers: echristo, rengolin, llvm-commits.
dsanders updated this revision to Diff 40522.Nov 18 2015, 9:04 AM

Refresh patch.

dsanders updated this revision to Diff 40523.Nov 18 2015, 9:04 AM

Correct bad 'arc diff' command

dsanders updated this revision to Diff 40524.Nov 18 2015, 9:07 AM
dsanders edited edge metadata.

Refresh patch correctly.

dsanders abandoned this revision.Jul 18 2019, 7:07 PM