[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


================
@@ -314,6 +318,12 @@
 #  define SANITIZER_NVPTX 0
 #endif
 
+#if defined(__SPIRV__)
+#  define SANITIZER_SPIRV 1
+#else // defined(__SPIRV__)
----------------
jhuber6 wrote:

Not consistent

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


More information about the llvm-commits mailing list