Skip to content

Commit 2dd0edf

Browse files
committed
[LLVM] Remove leftover unnecessary CMake for GPU runtimes
Summary: This somehow snuck back in.
1 parent e4d7b89 commit 2dd0edf

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

llvm/cmake/modules/HandleLLVMOptions.cmake

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144,14 +144,6 @@ if( LLVM_ENABLE_ASSERTIONS )
144144
endif()
145145
endif()
146146

147-
# If we are targeting a GPU architecture in a runtimes build we want to ignore
148-
# all the standard flag handling.
149-
if("${LLVM_RUNTIMES_TARGET}" MATCHES "^amdgcn" OR
150-
"${LLVM_RUNTIMES_TARGET}" MATCHES "^nvptx64")
151-
return()
152-
endif()
153-
154-
155147
if(LLVM_ENABLE_EXPENSIVE_CHECKS)
156148
# When LLVM_ENABLE_EXPENSIVE_CHECKS is ON, LLVM will intercept errors
157149
# using assert(). An explicit check is performed here.

0 commit comments

Comments
 (0)