Skip to content

Commit 8f3ccd1

Browse files
authored
libclc: clspv: do not set generic_addrspace_val (#141912)
This is breaking clspv: google/clspv#1493
1 parent e04e140 commit 8f3ccd1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

libclc/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,8 +445,7 @@ foreach( t ${LIBCLC_TARGETS_TO_BUILD} )
445445
if( ARCH STREQUAL amdgcn OR ARCH STREQUAL r600 OR ARCH STREQUAL amdgcn-amdhsa )
446446
set ( private_addrspace_val 5 )
447447
endif()
448-
if( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64
449-
OR ARCH STREQUAL clspv OR ARCH STREQUAL clspv64 )
448+
if( ARCH STREQUAL spirv OR ARCH STREQUAL spirv64)
450449
set ( generic_addrspace_val 4 )
451450
endif()
452451
list( APPEND build_flags

0 commit comments

Comments
 (0)