This is an archive of the discontinued LLVM Phabricator instance.

[llvm-objdump] Default to --mcpu=future for PPC64
ClosedPublic

Authored by MaskRay on Jun 14 2022, 10:46 PM.

Details

Summary

It's user friendly if a disassembler supports most target features and
tries to disassemble all instructions by default.
Since PowerPC has a future which intends to support all non-conflicting
features, it seems wise to default to it.

Diff Detail

Event Timeline

MaskRay created this revision.Jun 14 2022, 10:46 PM
MaskRay requested review of this revision.Jun 14 2022, 10:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 14 2022, 10:47 PM

Seems reasonable to me, but needs a Power PC person to do the review, I think.

Does this behaviour need documenting somewhere?

This revision was not accepted when it landed; it landed in state Needs Review.Jun 30 2022, 11:30 AM
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.

Just for posterity - I have no objections to this in a very delayed post-commit review.