aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-07-18 11:00:14 -0500
committerJoseph Huber <jhuber6@vols.utk.edu>2023-07-18 11:01:38 -0500
commit8759f1b03083c856053c4fae9b9da66f9b34af94 (patch)
tree5f385b92971b49572211d1b6545486ac80be02dd /libc
parentdaa8734233e781efe3ee92c5b6687f409c1fa7b2 (diff)
downloadllvm-8759f1b03083c856053c4fae9b9da66f9b34af94.zip
llvm-8759f1b03083c856053c4fae9b9da66f9b34af94.tar.gz
llvm-8759f1b03083c856053c4fae9b9da66f9b34af94.tar.bz2
Revert "[libc] Default the GPU build to the default memory utilities"
This reverts commit eca8b54a5f76c65a055bac05556b70c2a0ec63a1. Another user reverted the patch this was based on leaving this one in a broken state.
Diffstat (limited to 'libc')
-rw-r--r--libc/src/string/memory_utils/bcmp_implementations.h2
-rw-r--r--libc/src/string/memory_utils/memcmp_implementations.h2
-rw-r--r--libc/src/string/memory_utils/memcpy_implementations.h2
-rw-r--r--libc/src/string/memory_utils/memmove_implementations.h2
-rw-r--r--libc/src/string/memory_utils/memset_implementations.h2
5 files changed, 0 insertions, 10 deletions
diff --git a/libc/src/string/memory_utils/bcmp_implementations.h b/libc/src/string/memory_utils/bcmp_implementations.h
index 4b676e4..bfd5201 100644
--- a/libc/src/string/memory_utils/bcmp_implementations.h
+++ b/libc/src/string/memory_utils/bcmp_implementations.h
@@ -23,8 +23,6 @@
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
#include "src/string/memory_utils/riscv/bcmp_implementations.h"
#define LIBC_SRC_STRING_MEMORY_UTILS_BCMP inline_bcmp_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_GPU)
-// TODO: Define a more optimal GPU impolementation.
#else
// We may want to error instead of defaulting to suboptimal implementation.
#include "src/string/memory_utils/generic/byte_per_byte.h"
diff --git a/libc/src/string/memory_utils/memcmp_implementations.h b/libc/src/string/memory_utils/memcmp_implementations.h
index 95889c5..e18e640 100644
--- a/libc/src/string/memory_utils/memcmp_implementations.h
+++ b/libc/src/string/memory_utils/memcmp_implementations.h
@@ -24,8 +24,6 @@
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
#include "src/string/memory_utils/riscv/memcmp_implementations.h"
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMCMP inline_memcmp_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_GPU)
-// TODO: Define a more optimal GPU impolementation.
#else
// We may want to error instead of defaulting to suboptimal implementation.
#include "src/string/memory_utils/generic/byte_per_byte.h"
diff --git a/libc/src/string/memory_utils/memcpy_implementations.h b/libc/src/string/memory_utils/memcpy_implementations.h
index 4e59230..657fbac 100644
--- a/libc/src/string/memory_utils/memcpy_implementations.h
+++ b/libc/src/string/memory_utils/memcpy_implementations.h
@@ -28,8 +28,6 @@
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
#include "src/string/memory_utils/riscv/memcpy_implementations.h"
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMCPY inline_memcpy_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_GPU)
-// TODO: Define a more optimal GPU impolementation.
#else
// We may want to error instead of defaulting to suboptimal implementation.
#include "src/string/memory_utils/generic/byte_per_byte.h"
diff --git a/libc/src/string/memory_utils/memmove_implementations.h b/libc/src/string/memory_utils/memmove_implementations.h
index 764ed66..78ae7a8 100644
--- a/libc/src/string/memory_utils/memmove_implementations.h
+++ b/libc/src/string/memory_utils/memmove_implementations.h
@@ -20,8 +20,6 @@
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
#include "src/string/memory_utils/riscv/memmove_implementations.h"
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMMOVE inline_memmove_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_GPU)
-// TODO: Define a more optimal GPU impolementation.
#else
// We may want to error instead of defaulting to suboptimal implementation.
#include "src/string/memory_utils/generic/byte_per_byte.h"
diff --git a/libc/src/string/memory_utils/memset_implementations.h b/libc/src/string/memory_utils/memset_implementations.h
index bb9317c..37ceff9 100644
--- a/libc/src/string/memory_utils/memset_implementations.h
+++ b/libc/src/string/memory_utils/memset_implementations.h
@@ -24,8 +24,6 @@
#elif defined(LIBC_TARGET_ARCH_IS_ANY_RISCV)
#include "src/string/memory_utils/riscv/memset_implementations.h"
#define LIBC_SRC_STRING_MEMORY_UTILS_MEMSET inline_memset_riscv
-#elif defined(LIBC_TARGET_ARCH_IS_GPU)
-// TODO: Define a more optimal GPU impolementation.
#else
// We may want to error instead of defaulting to suboptimal implementation.
#include "src/string/memory_utils/generic/byte_per_byte.h"