[llvm-branch-commits] [llvm] [NFC][IR2Vec] Add usage documentation for obtaining embeddings (PR #155516)

Mircea Trofin via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Wed Aug 27 07:01:14 PDT 2025


================
@@ -24,6 +24,12 @@
 ///   Code Optimization (TACO), 2020. https://doi.org/10.1145/3418463.
 ///   https://arxiv.org/abs/1909.06228
 ///
+/// To obtain embeddings:
+/// First run the IR2Vec vocabulary analysis pass to populate the vocabulary.
----------------
mtrofin wrote:

`s/the IR2Vec vocabulary analysis pass/<the actual name of the class>`

... so that one can find it fast in code

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


More information about the llvm-branch-commits mailing list