================ @@ -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 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits