[llvm-branch-commits] [llvm] [IR2Vec] Scale embeddings once in vocab analysis instead of repetitive scaling (PR #143986)
    Mircea Trofin via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Fri Jun 13 07:41:13 PDT 2025
    
    
  
================
@@ -234,6 +237,8 @@ class IR2VecVocabResult {
 class IR2VecVocabAnalysis : public AnalysisInfoMixin<IR2VecVocabAnalysis> {
   ir2vec::Vocab Vocabulary;
   Error readVocabulary();
+  Error parseVocabSection(const char *Key, const json::Value ParsedVocabValue,
----------------
mtrofin wrote:
s/const char*/StringRef
s/const json::Value/const json::Value&
https://github.com/llvm/llvm-project/pull/143986
    
    
More information about the llvm-branch-commits
mailing list