[all-commits] [llvm/llvm-project] 58ab00: Adding IR2Vec as an analysis pass (#134004)
S. VenkataKeerthy via All-commits
all-commits at lists.llvm.org
Thu May 22 09:51:05 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 58ab005d8db2bb9fc54275f3398172e0691ecc91
https://github.com/llvm/llvm-project/commit/58ab005d8db2bb9fc54275f3398172e0691ecc91
Author: S. VenkataKeerthy <31350914+svkeerthy at users.noreply.github.com>
Date: 2025-05-22 (Thu, 22 May 2025)
Changed paths:
M llvm/docs/MLGO.rst
A llvm/include/llvm/Analysis/IR2Vec.h
M llvm/lib/Analysis/CMakeLists.txt
A llvm/lib/Analysis/IR2Vec.cpp
A llvm/lib/Analysis/models/seedEmbeddingVocab75D.json
M llvm/lib/Passes/PassBuilder.cpp
M llvm/lib/Passes/PassRegistry.def
A llvm/test/Analysis/IR2Vec/Inputs/dummy_3D_vocab.json
A llvm/test/Analysis/IR2Vec/Inputs/dummy_5D_vocab.json
A llvm/test/Analysis/IR2Vec/basic.ll
A llvm/test/Analysis/IR2Vec/if-else.ll
Log Message:
-----------
Adding IR2Vec as an analysis pass (#134004)
This PR introduces IR2Vec as an analysis pass. The changes include:
- Logic for generating Symbolic encodings.
- 75D learned vocabulary.
- lit tests.
Here is the link to the RFC -
https://discourse.llvm.org/t/rfc-enhancing-mlgo-inlining-with-ir2vec-embeddings
Acknowledgements: contributors -
https://github.com/IITH-Compilers/IR2Vec/graphs/contributors
---------
Co-authored-by: svkeerthy <venkatakeerthy at google.com>
Co-authored-by: Mircea Trofin <mtrofin at google.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list