[llvm] [CSSPGO] Fix the issue of preinliner import function list (PR #85719)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 18 16:56:12 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 715a931864eff4021463d40b73ef4b1b63959f3f f6843463dfa1ef4e7e29c540156289b18995ab6d -- 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 f9d87c0b5a..9a8040bc4b 100644
--- a/llvm/lib/Transforms/IPO/SampleProfile.cpp
+++ b/llvm/lib/Transforms/IPO/SampleProfile.cpp
@@ -1168,7 +1168,7 @@ void SampleProfileLoader::findExternalInlineCandidate(
// the nested inlinee profiles.
if (!FunctionSamples::ProfileIsCS) {
// Set threshold to zero to honor pre-inliner decision.
- if(UsePreInlinerDecision)
+ if (UsePreInlinerDecision)
Threshold = 0;
Samples->findInlinedFunctions(InlinedGUIDs, SymbolMap, Threshold);
return;
``````````
</details>
https://github.com/llvm/llvm-project/pull/85719
More information about the llvm-commits
mailing list