[compiler-rt] [compiler-rt] Add SPIR-V target support for UBSan Minimal Runtime (PR #195979)
Victor Mustya via llvm-commits
llvm-commits at lists.llvm.org
Wed May 6 09:46:20 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")
----------------
vmustya wrote:
Fixed: https://github.com/llvm/llvm-project/pull/195979/commits/06ffdd645b691ea427baa13198d61f2b98243561
https://github.com/llvm/llvm-project/pull/195979
More information about the llvm-commits
mailing list