This is an archive of the discontinued LLVM Phabricator instance.

[M68k][VarLenCodeEmitter] Support reloc & pc-rel immediate values
ClosedPublic

Authored by myhsu on Feb 6 2022, 8:09 PM.

Details

Summary

Supporting relocatable and pc-relative immediate values for the new code emitter.

This also provides an example usage of the encoder directive introduced by D119100.

Diff Detail

Event Timeline

myhsu created this revision.Feb 6 2022, 8:09 PM
myhsu requested review of this revision.Feb 6 2022, 8:09 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 6 2022, 8:09 PM
myhsu edited the summary of this revision. (Show Details)Feb 6 2022, 8:10 PM
ricky26 accepted this revision.Feb 15 2022, 2:36 AM

LGTM. I had underestimated how complicated it would be to generate relocations, but this looks good.

This revision is now accepted and ready to land.Feb 15 2022, 2:36 AM
This revision was landed with ongoing or failed builds.Feb 15 2022, 8:45 PM
This revision was automatically updated to reflect the committed changes.