This is an archive of the discontinued LLVM Phabricator instance.

[M68k] Forward declare getMCInstrBeads in one place
ClosedPublic

Authored by ricky26 on Mar 12 2021, 10:46 AM.

Details

Summary

At the moment getMCInstrBeads is forward-declared in a few places,
bring this together into a single header file.

This was done as part of the disassembler work, since the disassembler
would otherwise add one more forward declaration.

Diff Detail

Event Timeline

ricky26 created this revision.Mar 12 2021, 10:46 AM
ricky26 published this revision for review.Mar 12 2021, 11:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 12 2021, 11:57 AM
RKSimon added inline comments.Mar 15 2021, 6:36 AM
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
30–31

Probably best to move this back to where it was?

myhsu added inline comments.Mar 15 2021, 2:53 PM
llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
30–31

+1

ricky26 updated this revision to Diff 331074.Mar 16 2021, 12:59 PM

Moved inc file include back

ricky26 marked 2 inline comments as done.Mar 16 2021, 1:01 PM

I've moved that #include back, my bad!

myhsu accepted this revision.Mar 17 2021, 10:57 AM

LGTM
BTW, @ricky26 I think you can consider applying for commit access. We don't have a concrete numbers on how many patches you should have before asking for that access, but since you already have some patches accepted and you're working on AsmParser and Disassembler which have non-trivial amount of work, I think that can be a good justification :-)
Please consult this page for how to obtain the access: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access (Yes, we're still using the old-school way on applying this). Optionally you can CC me when you send the email to Chris.

This revision is now accepted and ready to land.Mar 17 2021, 10:57 AM
This revision was landed with ongoing or failed builds.Mar 17 2021, 1:32 PM
This revision was automatically updated to reflect the committed changes.