[llvm] [ThinLTO] Allow importing based on a workload definition (PR #74545)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 13 15:38:45 PST 2023
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 7ec4f6094e54911794c142b5d88496a220d807d6 e428d7b1e07ea0df37274b653b489eafa4cdff45 -- llvm/lib/Transforms/IPO/FunctionImport.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/IPO/FunctionImport.cpp b/llvm/lib/Transforms/IPO/FunctionImport.cpp
index ef0dc5dfb0..50c93296ef 100644
--- a/llvm/lib/Transforms/IPO/FunctionImport.cpp
+++ b/llvm/lib/Transforms/IPO/FunctionImport.cpp
@@ -479,7 +479,7 @@ class WorkloadImportsManager : public ModuleImportsManager {
<< " ImportFailureReason: "
<< getFailureName(Candidate.first) << "\n");
return Candidate.first ==
- FunctionImporter::ImportFailureReason::None;
+ FunctionImporter::ImportFailureReason::None;
}),
[](const auto &Candidate) { return Candidate.second; });
if (PotentialCandidates.empty()) {
``````````
</details>
https://github.com/llvm/llvm-project/pull/74545
More information about the llvm-commits
mailing list