[llvm] [libc][bazel] Remove -mllvm --tail-merge-threshold=0 from Bazel. (PR #115061)

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 5 12:31:53 PST 2024


https://github.com/vonosmas created https://github.com/llvm/llvm-project/pull/115061

Follow-up on the `-mllvm --tail-merge-threshold=0` removal promised in aeccc16497a84d61200f7ccfa3864096349260d3 (see b2a9ea4420127d10b18ae648b16757665f8bbd7c commit message on why we don't need this in Bazel, and will only keep in AArch64-specific compile flags in CMake build).

>From f11b36d642f0337790601fd98e0024baa4209835 Mon Sep 17 00:00:00 2001
From: Alexey Samsonov <vonosmas at gmail.com>
Date: Tue, 5 Nov 2024 12:24:30 -0800
Subject: [PATCH] Remove -mllvm --tail-merge-threshold=0 from Bazel.

---
 utils/bazel/llvm-project-overlay/libc/BUILD.bazel | 2 --
 1 file changed, 2 deletions(-)

diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index f6648c9bffa730..54c1c3eb27f203 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -3648,7 +3648,6 @@ libc_function(
     name = "memcpy",
     srcs = ["src/string/memcpy.cpp"],
     hdrs = ["src/string/memcpy.h"],
-    copts = ["-mllvm --tail-merge-threshold=0"],
     features = no_sanitize_features,
     weak = True,
     deps = [
@@ -3685,7 +3684,6 @@ libc_function(
     name = "mempcpy",
     srcs = ["src/string/mempcpy.cpp"],
     hdrs = ["src/string/mempcpy.h"],
-    copts = ["-mllvm --tail-merge-threshold=0"],
     features = no_sanitize_features,
     weak = True,
     deps = [



More information about the llvm-commits mailing list