Author: Matt Arsenault Date: 2026-03-05T08:34:28+01:00 New Revision: d998a70c86389a1b9c44413270897c0cb8472374
URL: https://github.com/llvm/llvm-project/commit/d998a70c86389a1b9c44413270897c0cb8472374 DIFF: https://github.com/llvm/llvm-project/commit/d998a70c86389a1b9c44413270897c0cb8472374.diff LOG: libclc: Fix checking for arch including OS in wrong place (#184683) Added: Modified: libclc/CMakeLists.txt Removed: ################################################################################ diff --git a/libclc/CMakeLists.txt b/libclc/CMakeLists.txt index c2a4aec0f8ebe..1aa67b0745781 100644 --- a/libclc/CMakeLists.txt +++ b/libclc/CMakeLists.txt @@ -392,7 +392,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} ) # maps to the private address space. set ( private_addrspace_val 0 ) set ( generic_addrspace_val 0 ) - if( ARCH STREQUAL amdgcn-amdhsa ) + if( ARCH STREQUAL amdgcn ) set ( private_addrspace_val 5 ) endif() if( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64) _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
