[compiler-rt] [compiler-rt] Add SPIR-V target support for UBSan Minimal Runtime (PR #195979)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Tue May 5 19:48:12 PDT 2026


================
@@ -429,6 +429,9 @@ macro(construct_compiler_rt_default_triple)
     elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "nvptx|spirv64")
       set(COMPILER_RT_GPU_BUILD ON)
       set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} -flto -c")
+    elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "spirv64")
----------------
jhuber6 wrote:

Isn't this case handled above?

https://github.com/llvm/llvm-project/pull/195979


More information about the llvm-commits mailing list