[libclc] libclc: add missing AMD gfx symlinks (PR #78884)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 21 21:04:11 PST 2024


=?utf-8?b?Wm9sdMOhbiBCw7ZzesO2cm3DqW55aQ=?Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/78884 at github.com>


================
@@ -154,6 +154,46 @@ if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "6.99.99" )
 	set( tahiti_aliases ${tahiti_aliases} gfx904 gfx906 )
 endif()
 
+# Support for gfx909, gfx1010, gfx1011 and gfx1012 was added in LLVM 10 (r345120)
+if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "9.99.99" )
+	set( tahiti_aliases ${tahiti_aliases} gfx909 gfx1010 gfx1011 gfx1012 )
+endif()
+
+# Support for gfx908 was added in LLVM 11 (r373411)
+if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "10.99.99" )
+	set( tahiti_aliases ${tahiti_aliases} gfx908 )
----------------
arsenm wrote:

It's not really accurate to call this an alias of Tahiti, but it looks like libclc is missing so much it doesn't matter and this is done for every other target already 

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


More information about the cfe-commits mailing list