Skip to content

Revert "[reland][libc][bazel] Enable software prefetching for memcpy" #127189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 14, 2025

Conversation

gchatelet
Copy link
Contributor

Reverts #113886

We suspect this has caused internal performance regressions, reverting while root causing it more thoroughly.

@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Feb 14, 2025
@llvmbot
Copy link
Member

llvmbot commented Feb 14, 2025

@llvm/pr-subscribers-libc

Author: Guillaume Chatelet (gchatelet)

Changes

Reverts llvm/llvm-project#113886

We suspect this has caused internal performance regressions, reverting while root causing it more thoroughly.


Full diff: https://github.com/llvm/llvm-project/pull/127189.diff

1 Files Affected:

  • (modified) utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl (+1-1)
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 96d7fa86e9ddf..f65da9e98226b 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

@bgra8 bgra8 self-requested a review February 14, 2025 10:19
@gchatelet gchatelet merged commit c65ed96 into main Feb 14, 2025
9 checks passed
@gchatelet gchatelet deleted the revert-113886-main branch February 14, 2025 10:19
@bgra8 bgra8 removed their request for review February 14, 2025 10:22
joaosaffran pushed a commit to joaosaffran/llvm-project that referenced this pull request Feb 14, 2025
…llvm#127189)

Reverts llvm#113886

We suspect this has caused internal performance regressions, reverting
while root causing it more thoroughly.
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Feb 24, 2025
…llvm#127189)

Reverts llvm#113886

We suspect this has caused internal performance regressions, reverting
while root causing it more thoroughly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bazel "Peripheral" support tier build system: utils/bazel libc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants