[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:20 PDT 2023
================
@@ -0,0 +1,45 @@
+//===-- Trivial builtin implementations ----------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_LIBC_SRC_STRING_MEMORY_UTILS_GENERIC_BUILTIN_H
+#define LLVM_LIBC_SRC_STRING_MEMORY_UTILS_GENERIC_BUILTIN_H
+
+#include "src/string/memory_utils/utils.h" // Ptr, CPtr
+
----------------
gchatelet wrote:
Technically you still need the includes for `LIBC_HAS_BUILTIN` and `LIBC_INLINE` even if they are imported though `src/string/memory_utils/utils.h`.
https://github.com/llvm/llvm-project/pull/68003
More information about the libc-commits
mailing list