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

Ivan Kosarev via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 17 04:06:38 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:

According to SP3, they don't support `s_version` and there are no `UC_VERSION_GFX*` codes for them.

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


More information about the llvm-commits mailing list