[llvm] Adding IR2Vec as an analysis pass (PR #134004)

S. VenkataKeerthy via llvm-commits llvm-commits at lists.llvm.org
Thu May 22 10:13:03 PDT 2025


svkeerthy wrote:

> * Option for choosing between symbolic vs flow-aware embeddings?

Right now we just have Symbolic embeddings in this PR. Will expose the option to choose when we add support for Flow-Aware embeddings.

> * Option for verbosity - all vectors (function, BB and inst vectors) printed, versus only function vector.

You mean in the printer pass? Kept it that way just for lit tests. In the upcoming patches we can patch them with more options if that is desired. (We also plan to expose a tool that would have options to choose between different levels of embeddings.)



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


More information about the llvm-commits mailing list