[libc-commits] [libc] [libc] Change the GPU to use builtin memory functions (PR #68003)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Tue Oct 3 08:19:21 PDT 2023


================
@@ -23,9 +23,12 @@
 #elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
 #include "src/string/memory_utils/riscv/inline_bcmp.h"
 #define LIBC_SRC_STRING_MEMORY_UTILS_BCMP inline_bcmp_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_ARM) || defined(LIBC_TARGET_ARCH_IS_GPU)
+#elif defined(LIBC_TARGET_ARCH_IS_ARM) || defined(LIBC_TARGET_ARCH_IS_NVPTX)
----------------
gchatelet wrote:

Can you document this at least? (a link to the bug would be ideal)

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


More information about the libc-commits mailing list