This is an archive of the discontinued LLVM Phabricator instance.

[M68k] Change printing of absolute memory references
ClosedPublic

Authored by ricky26 on Apr 17 2021, 3:24 AM.

Details

Summary

This also includes PC-relative addresses since they are still
referenced as absolute addresses in assembly and converted to
relative addresses by the assembler.

This changes, for example:

  • bra #-2 -> bra $100
  • jsr #16 -> jsr $10

Diff Detail

Event Timeline

ricky26 created this revision.Apr 17 2021, 3:24 AM
ricky26 requested review of this revision.Apr 17 2021, 3:24 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 17 2021, 3:24 AM
myhsu accepted this revision.Apr 19 2021, 9:46 AM

LGTM.

This revision is now accepted and ready to land.Apr 19 2021, 9:46 AM
This revision was landed with ongoing or failed builds.Apr 19 2021, 2:28 PM
This revision was automatically updated to reflect the committed changes.