This is an archive of the discontinued LLVM Phabricator instance.

[AMDGPU] Create isGFX9Plus utility function
ClosedPublic

Authored by Joe_Nash on Oct 6 2020, 9:15 AM.

Details

Summary

Introduce a utility function to make it more
convenient to write code that is the same on
the GFX9 and GFX10 subtargets.

Use isGFX9Plus in the AsmParser for AMDGPU.

Diff Detail

Event Timeline

Joe_Nash created this revision.Oct 6 2020, 9:15 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 6 2020, 9:15 AM
Joe_Nash requested review of this revision.Oct 6 2020, 9:15 AM
rampitec accepted this revision.Oct 6 2020, 9:56 AM

LGTM

This revision is now accepted and ready to land.Oct 6 2020, 9:56 AM

Thank you for the review. I do not yet have commit access so please commit this on my behalf.

This revision was landed with ongoing or failed builds.Oct 6 2020, 10:18 AM
This revision was automatically updated to reflect the committed changes.