[llvm] Call instr execution in ir2vec (PR #167233)

via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 9 11:34:13 PST 2025


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 origin/main HEAD --extensions cpp,h -- llvm/include/llvm/Analysis/IR2Vec.h llvm/lib/Analysis/IR2Vec.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/lib/Analysis/IR2Vec.cpp b/llvm/lib/Analysis/IR2Vec.cpp
index 2493cb4f7..05e1d6c83 100644
--- a/llvm/lib/Analysis/IR2Vec.cpp
+++ b/llvm/lib/Analysis/IR2Vec.cpp
@@ -65,7 +65,7 @@ cl::opt<IR2VecKind> IR2VecEmbeddingKind(
 // static members of Flowaware Embeddings
 SmallVector<Function *, 15> FlowAwareEmbedder::FuncStack;
 SmallMapVector<const Function *, SmallVector<const Function *, 10>, 16>
-      FlowAwareEmbedder::FuncCallMap;
+    FlowAwareEmbedder::FuncCallMap;
 } // namespace ir2vec
 } // namespace llvm
 

``````````

</details>


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


More information about the llvm-commits mailing list