https://github.com/aaupov updated 
https://github.com/llvm/llvm-project/pull/165492

>From 49643f04d7f915e3f1cd4a58f4d01fa2767221a9 Mon Sep 17 00:00:00 2001
From: Amir Ayupov <[email protected]>
Date: Tue, 28 Oct 2025 19:57:49 -0700
Subject: [PATCH] clang-format

Created using spr 1.3.4
---
 bolt/lib/Profile/StaleProfileMatching.cpp | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/bolt/lib/Profile/StaleProfileMatching.cpp 
b/bolt/lib/Profile/StaleProfileMatching.cpp
index 129fc9acc84a7..af0797ef198ae 100644
--- a/bolt/lib/Profile/StaleProfileMatching.cpp
+++ b/bolt/lib/Profile/StaleProfileMatching.cpp
@@ -724,18 +724,18 @@ size_t setBlockWeights(FlowFunction &Func, 
ArrayRef<uint64_t> OutWeight,
 /// of the basic blocks in the binary, the count is "matched" to the block.
 /// Similarly, if both the source and the target of a count in the profile are
 /// matched to a jump in the binary, the count is recorded in CFG.
-size_t matchWeights(BinaryContext &BC,
-                    const BinaryFunction::BasicBlockOrderType &BlockOrder,
-                    const yaml::bolt::BinaryFunctionProfile &YamlBF,
-                    FlowFunction &Func, HashFunction HashFunction,
-                    YAMLProfileReader::ProfileLookupMap &IdToYamlBF,
-                    const BinaryFunction &BF,
-                    const ArrayRef<YAMLProfileReader::ProbeMatchSpec> 
ProbeMatchSpecs) {
+size_t matchWeights(
+    BinaryContext &BC, const BinaryFunction::BasicBlockOrderType &BlockOrder,
+    const yaml::bolt::BinaryFunctionProfile &YamlBF, FlowFunction &Func,
+    HashFunction HashFunction, YAMLProfileReader::ProfileLookupMap &IdToYamlBF,
+    const BinaryFunction &BF,
+    const ArrayRef<YAMLProfileReader::ProbeMatchSpec> ProbeMatchSpecs) {
   using namespace yaml::bolt;
 
   assert(Func.Blocks.size() == BlockOrder.size() + 2);
 
-  auto [Matcher, BlendedHashes] = initMatcher(BC, BlockOrder, Func, 
HashFunction);
+  auto [Matcher, BlendedHashes] =
+      initMatcher(BC, BlockOrder, Func, HashFunction);
 
   // Match jumps from the profile to the jumps from CFG
   std::vector<uint64_t> OutWeight(Func.Blocks.size(), 0);

_______________________________________________
llvm-branch-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to