libclc: clspv: do not set generic_addrspace_val (#141912)

This is breaking clspv: https://github.com/google/clspv/issues/1493
This commit is contained in:
Romaric Jodin 2025-06-02 11:10:52 +02:00 committed by GitHub
parent e04e140adb
commit 8f3ccd1674
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -445,8 +445,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
if( ARCH STREQUAL amdgcn OR ARCH STREQUAL r600 OR ARCH STREQUAL amdgcn-amdhsa )
set ( private_addrspace_val 5 )
endif()
if( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64
OR ARCH STREQUAL clspv OR ARCH STREQUAL clspv64 )
if( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64)
set ( generic_addrspace_val 4 )
endif()
list( APPEND build_flags