This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Add more Common Feature Sets
ClosedPublic

Authored by Pierre-vh on Jun 27 2023, 1:38 AM.

Details

Summary

A small refactor to add more _Common feature sets for GFX8+.

Diff Detail

Event Timeline

Pierre-vh created this revision.Jun 27 2023, 1:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 1:38 AM
Pierre-vh requested review of this revision.Jun 27 2023, 1:38 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 27 2023, 1:38 AM
foad accepted this revision.Jun 27 2023, 1:53 AM

LGTM assuming it's NFC.

llvm/lib/Target/AMDGPU/AMDGPU.td
1240–1255

Nit: I would either spell this gfx101x (like an -mcpu= value) or GFX 10.1.x (like an architecture name).

This revision is now accepted and ready to land.Jun 27 2023, 1:53 AM
Pierre-vh updated this revision to Diff 534894.Jun 27 2023, 3:11 AM
Pierre-vh marked an inline comment as done.

The md5 of AMDGPUGenSubtargetInfo.inc didn't change, so this should be a NFC. Is there any other file I can verify to ensure it's not accidentally changing anything?

foad added a comment.Jun 27 2023, 3:36 AM

The md5 of AMDGPUGenSubtargetInfo.inc didn't change, so this should be a NFC. Is there any other file I can verify to ensure it's not accidentally changing anything?

That's good enough for me!

This revision was landed with ongoing or failed builds.Jun 27 2023, 5:24 AM
This revision was automatically updated to reflect the committed changes.