[libclc] d998a70 - libclc: Fix checking for arch including OS in wrong place (#184683)
via cfe-commits
cfe-commits at lists.llvm.org
Wed Mar 4 23:34:33 PST 2026
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)
More information about the cfe-commits
mailing list