[llvm] [BOLT][AArch64] Refuse to run CDSplit pass (PR #159351)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 17 05:52:54 PDT 2025
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff origin/main HEAD --extensions cpp,h -- bolt/include/bolt/Passes/SplitFunctions.h bolt/include/bolt/Utils/CommandLineOpts.h bolt/lib/Passes/LongJmp.cpp bolt/lib/Passes/SplitFunctions.cpp bolt/lib/Utils/CommandLineOpts.cpp
``````````
:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Passes/SplitFunctions.cpp b/bolt/lib/Passes/SplitFunctions.cpp
index 37243c5f3..eab669b32 100644
--- a/bolt/lib/Passes/SplitFunctions.cpp
+++ b/bolt/lib/Passes/SplitFunctions.cpp
@@ -85,7 +85,6 @@ static cl::opt<unsigned> SplitThreshold(
"size is reduced. Note that on some architectures the size can "
"increase after splitting."),
cl::init(0), cl::Hidden, cl::cat(BoltOptCategory));
-
static cl::opt<double> CallScale(
"call-scale",
``````````
</details>
https://github.com/llvm/llvm-project/pull/159351
More information about the llvm-commits
mailing list