[llvm] [MemProf] Support cloning for indirect calls with ThinLTO (PR #110625)

via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 30 19:50:58 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 cca32174fef004aadc177fcde44904e326c639fb ba5c45f2d0c9cd8dbdb5b47339cac7ad78b5c6b4 --extensions h,cpp -- llvm/include/llvm/IR/ModuleSummaryIndex.h llvm/include/llvm/Transforms/IPO/MemProfContextDisambiguation.h llvm/lib/Analysis/ModuleSummaryAnalysis.cpp llvm/lib/IR/AsmWriter.cpp llvm/lib/Passes/PassBuilderPipelines.cpp llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp b/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
index 84e1773550..4bb5350e59 100644
--- a/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
+++ b/llvm/lib/Transforms/IPO/MemProfContextDisambiguation.cpp
@@ -44,9 +44,9 @@
 #include "llvm/Support/GraphWriter.h"
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Transforms/IPO.h"
-#include "llvm/Transforms/Utils/Instrumentation.h"
 #include "llvm/Transforms/Utils/CallPromotionUtils.h"
 #include "llvm/Transforms/Utils/Cloning.h"
+#include "llvm/Transforms/Utils/Instrumentation.h"
 #include <deque>
 #include <sstream>
 #include <unordered_map>

``````````

</details>


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


More information about the llvm-commits mailing list