[llvm] [BOLT] Report adjusted program stats from perf2bolt in BAT mode (PR #91683)

via llvm-commits llvm-commits at lists.llvm.org
Thu May 9 17:06:21 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 d484c4d3501a7ff3d00a6e0cfad026a3b01d320c 1171fdde14bdb4904893594669df1ca8c67041ec -- bolt/include/bolt/Passes/BinaryPasses.h bolt/lib/Passes/BinaryPasses.cpp bolt/lib/Profile/DataAggregator.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/bolt/include/bolt/Passes/BinaryPasses.h b/bolt/include/bolt/Passes/BinaryPasses.h
index 9b4c690018..a07c913004 100644
--- a/bolt/include/bolt/Passes/BinaryPasses.h
+++ b/bolt/include/bolt/Passes/BinaryPasses.h
@@ -401,6 +401,7 @@ public:
 /// dyno stats categories.
 class PrintProgramStats : public BinaryFunctionPass {
   BoltAddressTranslation *BAT = nullptr;
+
 public:
   explicit PrintProgramStats(BoltAddressTranslation *BAT = nullptr)
       : BinaryFunctionPass(false), BAT(BAT) {}

``````````

</details>


https://github.com/llvm/llvm-project/pull/91683


More information about the llvm-commits mailing list