[llvm] [BOLT][NFC] Add sink block to flow CFG in profile inference (PR #95047)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 10 16:24:45 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 f3b212cd123398b563da3a9a69c2903d8b355d19 34922ba752ebe755e89fdf3cca0ef58073e7a9b0 -- bolt/lib/Profile/StaleProfileMatching.cpp llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
``````````

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h b/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
index 1f74dc0f71..d8962a76a8 100644
--- a/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
+++ b/llvm/include/llvm/Transforms/Utils/SampleProfileInference.h
@@ -32,7 +32,7 @@ struct FlowBlock {
   uint64_t Flow{0};
   std::vector<FlowJump *> SuccJumps;
   std::vector<FlowJump *> PredJumps;
-  
+
   /// Check if it is the entry block in the function.
   bool isEntry() const { return PredJumps.empty(); }
 

``````````

</details>


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


More information about the llvm-commits mailing list