This is an archive of the discontinued LLVM Phabricator instance.

[AArch64] Fix the TuneExynosM4 entry in lib/Target/AArch64/AArch64.td
ClosedPublic

Authored by david-arm on Feb 28 2022, 9:12 AM.

Details

Summary

A bug was introduced in 5ea35791e6642f6160819c930f79b0f57ad0e907 that
gave the wrong name and description for TuneExynosM4. This patch fixes
that and changes it back to m3.

Diff Detail

Event Timeline

david-arm created this revision.Feb 28 2022, 9:12 AM
david-arm requested review of this revision.Feb 28 2022, 9:12 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 28 2022, 9:12 AM
sdesmalen added inline comments.Feb 28 2022, 9:17 AM
llvm/lib/Target/AArch64/AArch64.td
819–821

should this be ExynosM4 as well then?

dmgreen added inline comments.Feb 28 2022, 11:39 AM
llvm/lib/Target/AArch64/AArch64.td
819–821

It wasn't in the original code. They shared the ExynosM3 ProcFamily. Adding it doesn't add a huge amount unless there is some reason to distinguish the two.

sdesmalen added inline comments.Mar 1 2022, 3:21 AM
llvm/lib/Target/AArch64/AArch64.td
819–821

Makes sense. Perhaps a comment would be useful in that case, e.g. /*Re-uses ExynosM3 proc family*/ or something like that.

david-arm updated this revision to Diff 412721.Mar 3 2022, 7:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 3 2022, 7:40 AM
david-arm marked 3 inline comments as done.Mar 3 2022, 7:41 AM
tmatheson accepted this revision.Mar 3 2022, 7:41 AM
This revision is now accepted and ready to land.Mar 3 2022, 7:41 AM
This revision was landed with ongoing or failed builds.Mar 4 2022, 2:27 AM
This revision was automatically updated to reflect the committed changes.