[llvm] [ctx_prof] Flattened profile lowering pass (PR #107329)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 5 12:54:51 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 f32e5bdcefcff80f4296f8f4abedc37dcda36d53 59e6bd71c20fafbffd5076b8456c19cc02547089 --extensions cpp,h -- llvm/include/llvm/Transforms/Instrumentation/PGOCtxProfFlattening.h llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp llvm/include/llvm/ProfileData/ProfileCommon.h llvm/lib/Passes/PassBuilder.cpp llvm/lib/Passes/PassBuilderPipelines.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp b/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
index f05ac5fea2..440f80e508 100644
--- a/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
+++ b/llvm/lib/Transforms/Instrumentation/PGOCtxProfFlattening.cpp
@@ -292,7 +292,7 @@ void removeInstrumentation(Function &F) {
} // namespace
PreservedAnalyses PGOCtxProfFlatteningPass::run(Module &M,
- ModuleAnalysisManager &MAM) {
+ ModuleAnalysisManager &MAM) {
auto &CtxProf = MAM.getResult<CtxProfAnalysis>(M);
if (!CtxProf)
return PreservedAnalyses::all();
``````````
</details>
https://github.com/llvm/llvm-project/pull/107329
More information about the llvm-commits
mailing list