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

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 18 07:34:24 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},
----------------
kosarev wrote:

Done.

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


More information about the llvm-commits mailing list