[llvm-branch-commits] [llvm] [BOLT] Match blocks with pseudo probes (PR #99891)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Sep 4 15:58:09 PDT 2024
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 bfa0afc8fd9a4cfb4c44146379ea2f6e231661cc 0f455d09f5d2bcd07278debd55e76dfbc1162472 --extensions h,cpp -- bolt/include/bolt/Core/BinaryContext.h bolt/lib/Passes/BinaryPasses.cpp bolt/lib/Profile/StaleProfileMatching.cpp bolt/lib/Rewrite/PseudoProbeRewriter.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/bolt/lib/Profile/StaleProfileMatching.cpp b/bolt/lib/Profile/StaleProfileMatching.cpp
index 4f637c3e4f..41e502a5e6 100644
--- a/bolt/lib/Profile/StaleProfileMatching.cpp
+++ b/bolt/lib/Profile/StaleProfileMatching.cpp
@@ -343,7 +343,8 @@ private:
getInlineTreeNode(Probe.InlineTreeIndex);
if (logIf(!InlineTreeNode,
formatv("no matching inline tree node for {0} {1}",
- Probe.InlineTreeIndex, Probe.Index).str())) {
+ Probe.InlineTreeIndex, Probe.Index)
+ .str())) {
++FlowBlockMatchCount[nullptr];
continue;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/99891
More information about the llvm-branch-commits
mailing list