[llvm-branch-commits] [llvm] [MLGO][IR2Vec] Integrating IR2Vec with	MLInliner (PR #143479)
    Mircea Trofin via llvm-branch-commits 
    llvm-branch-commits at lists.llvm.org
       
    Tue Jun 10 10:50:52 PDT 2025
    
    
  
================
@@ -294,8 +294,8 @@ Error IR2VecVocabAnalysis::readVocabulary() {
   return Error::success();
 }
 
-IR2VecVocabAnalysis::IR2VecVocabAnalysis(Vocab &&Vocabulary)
-    : Vocabulary(std::move(Vocabulary)) {}
+IR2VecVocabAnalysis::IR2VecVocabAnalysis(Vocab Vocabulary)
+    : Vocabulary(Vocabulary) {}
----------------
mtrofin wrote:
why?
can this change be made in a precursor PR?
https://github.com/llvm/llvm-project/pull/143479
    
    
More information about the llvm-branch-commits
mailing list