[llvm] [reland][libc][bazel] Enable software prefetching for memcpy (PR #113886)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 28 02:13:03 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libc
Author: Guillaume Chatelet (gchatelet)
<details>
<summary>Changes</summary>
This will affect only Bazel configuration for now.
This is a reland of #<!-- -->108939 which has been reverted because of codegen
issues fixed by https://github.com/llvm/llvm-project/pull/113161.
---
Full diff: https://github.com/llvm/llvm-project/pull/113886.diff
1 Files Affected:
- (modified) utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl (+1-1)
``````````diff
diff --git a/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl b/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
index f65da9e98226b6..96d7fa86e9ddf2 100644
--- a/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
+++ b/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
@@ -24,7 +24,7 @@ LIBC_CONFIGURE_OPTIONS = [
# Documentation in libc/src/string/memory_utils/...
# "LIBC_COPT_MEMCPY_USE_EMBEDDED_TINY",
# "LIBC_COPT_MEMCPY_X86_USE_REPMOVSB_FROM_SIZE",
- # "LIBC_COPT_MEMCPY_X86_USE_SOFTWARE_PREFETCHING",
+ "LIBC_COPT_MEMCPY_X86_USE_SOFTWARE_PREFETCHING",
"LIBC_COPT_MEMSET_X86_USE_SOFTWARE_PREFETCHING",
# Documentation in libc/docs/dev/printf_behavior.rst
``````````
</details>
https://github.com/llvm/llvm-project/pull/113886
More information about the llvm-commits
mailing list