Skip to content

[reland][libc][bazel] Enable software prefetching for memcpy #113886

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
Oct 28, 2024

Conversation

gchatelet
Copy link
Contributor

This will affect only Bazel configuration for now.
This is a reland of #108939 which has been reverted because of codegen
issues fixed by #113161.

This will affect only Bazel configuration for now.
This is a reland of llvm#108939 which has been reverted because of codegen
issues fixed by llvm#113161.
@llvmbot llvmbot added libc bazel "Peripheral" support tier build system: utils/bazel labels Oct 28, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 28, 2024

@llvm/pr-subscribers-libc

Author: Guillaume Chatelet (gchatelet)

Changes

This will affect only Bazel configuration for now.
This is a reland of #108939 which has been reverted because of codegen
issues fixed by #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 --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

@gchatelet gchatelet merged commit b1ede8f into llvm:main Oct 28, 2024
9 checks passed
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
…3886)

This will affect only Bazel configuration for now.
This is a reland of llvm#108939 which has been reverted because of codegen
issues fixed by llvm#113161.
gchatelet added a commit that referenced this pull request Feb 14, 2025
…#127189)

Reverts #113886

We suspect this has caused internal performance regressions, reverting
while root causing it more thoroughly.
github-actions bot pushed a commit to arm/arm-toolchain that referenced this pull request Feb 14, 2025
…for memcpy" (#127189)

Reverts llvm/llvm-project#113886

We suspect this has caused internal performance regressions, reverting
while root causing it more thoroughly.
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.
oneseer pushed a commit to oneseer/llvm that referenced this pull request May 24, 2025
… (#127189)

Reverts llvm/llvm-project#113886

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

patch.cherry: true
patch.metadata.original_sha: c65ed96
patch.platforms: chromiumos
patch.version_range.from: 554178
patch.version_range.until: 565287

Change-Id: Iaa9fe07e2927d76b37495cb3d0ea6c64633ab50e
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.

3 participants