[llvm] [CSSPGO] Error out if the checksum mismatch is high (PR #84097)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 14:44:43 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 e77a473601314cc7e7aa912579982a38326d334c 5a77cbeb072af63d9ff8979af42ae63a7e2443c1 -- llvm/lib/Transforms/IPO/SampleProfile.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/IPO/SampleProfile.cpp b/llvm/lib/Transforms/IPO/SampleProfile.cpp
index a45d1e9de5..b271d9d169 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -647,7 +647,7 @@ protected:
   std::unique_ptr<ProfiledCallGraph> buildProfiledCallGraph(Module &M);
   void generateMDProfMetadata(Function &F);
   bool rejectHighStalenessProfile(Module &M, ProfileSummaryInfo *PSI,
-                                   const SampleProfileMap &Profiles);
+                                  const SampleProfileMap &Profiles);
 
   /// Map from function name to Function *. Used to find the function from
   /// the function name. If the function name contains suffix, additional

``````````

</details>


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


More information about the llvm-commits mailing list