=?utf-8?b?Wm9sdMOhbiBCw7ZzesO2cm3DqW55aQ=?Message-ID: In-Reply-To: <llvm.org/llvm/llvm-project/pull/78...@github.com>
llvmbot wrote: <!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-backend-amdgpu Author: Zoltán Böszörményi (zboszor) <details> <summary>Changes</summary> Fixes #<!-- -->44186 --- Full diff: https://github.com/llvm/llvm-project/pull/78884.diff 1 Files Affected: - (modified) libclc/CMakeLists.txt (+40) ``````````diff diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index 9daef8265c16f2..f9792a331589a2 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -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 ) +endif() + +# Support for gfx90c, gfx1030, gfx1031, gfx1032, gfx1033 was added in LLVM 12 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "11.99.99" ) + set( tahiti_aliases ${tahiti_aliases} gfx90c gfx1030 gfx1031 gfx1032 gfx1033 ) +endif() + +# Support for tongapro, gfx602, gfx705, gfx805 was added in LLVM 13 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "12.99.99" ) + set( tahiti_aliases ${tahiti_aliases} tongapro gfx602 gfx705 gfx805 ) +endif() + +# Support for gfx90a, gfx1013, gfx1034, gfx1035 was added in LLVM 14 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "13.99.99" ) + set( tahiti_aliases ${tahiti_aliases} gfx90a gfx1013 gfx1034 gfx1035 ) +endif() + +# Support for gfx940, gfx1036, gfx1100, gfx1101, gfx1102, gfx1103 was added in LLVM 16 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "15.99.99" ) + set( tahiti_aliases ${tahiti_aliases} gfx940 gfx1036 gfx1100 gfx1101 gfx1102 gfx1103 ) +endif() + +# Support for gfx941, gfx942, gfx1150, gfx1151 was added in LLVM 18 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "17.99.99" ) + set( tahiti_aliases ${tahiti_aliases} gfx941 gfx942 gfx1150 gfx1151 ) +endif() + +# Support for gfx1200, gfx1201 was added in LLVM 19 +if( ${LLVM_PACKAGE_VERSION} VERSION_GREATER "18.99.99" ) + set( tahiti_aliases ${tahiti_aliases} gfx1200 gfx1201 ) +endif() + # pkg-config file configure_file( libclc.pc.in libclc.pc @ONLY ) install( FILES ${CMAKE_CURRENT_BINARY_DIR}/libclc.pc DESTINATION "${CMAKE_INSTALL_DATADIR}/pkgconfig" ) `````````` </details> https://github.com/llvm/llvm-project/pull/78884 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits