[llvm] [libc][bazel] Enable software prefetching for memset (PR #108860)

Guillaume Chatelet via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 16 10:19:49 PDT 2024


https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/108860

This will affect only Bazel configuration for now.


>From 1caebd3ae0519442b68b01d99eec85790cedb097 Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Mon, 16 Sep 2024 17:17:00 +0000
Subject: [PATCH] [libc][bazel] Enable software prefetching for memset

This will affect only Bazel configuration for now.
---
 .../bazel/llvm-project-overlay/libc/libc_configure_options.bzl  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 f780c323d9a996..f65da9e98226b6 100644
--- a/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
+++ b/utils/bazel/llvm-project-overlay/libc/libc_configure_options.bzl
@@ -25,7 +25,7 @@ LIBC_CONFIGURE_OPTIONS = [
     # "LIBC_COPT_MEMCPY_USE_EMBEDDED_TINY",
     # "LIBC_COPT_MEMCPY_X86_USE_REPMOVSB_FROM_SIZE",
     # "LIBC_COPT_MEMCPY_X86_USE_SOFTWARE_PREFETCHING",
-    # "LIBC_COPT_MEMSET_X86_USE_SOFTWARE_PREFETCHING",
+    "LIBC_COPT_MEMSET_X86_USE_SOFTWARE_PREFETCHING",
 
     # Documentation in libc/docs/dev/printf_behavior.rst
     # "LIBC_COPT_PRINTF_CONV_ATLAS",



More information about the llvm-commits mailing list