[llvm] [AMDGPU][MC] Support UC_VERSION_* constants. (PR #95618)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 04:32:41 PDT 2024


================
@@ -669,5 +669,18 @@ const char* const IdSymbolic[] = {
 
 } // namespace VGPRIndexMode
 
+namespace UCVersion {
+
+ArrayRef<GFXVersion> getGFXVersions() {
+  static const GFXVersion Versions[] = {{"UC_VERSION_GFX7", 0},
----------------
arsenm wrote:

Can you add a comment for this 

https://github.com/llvm/llvm-project/pull/95618


More information about the llvm-commits mailing list