================ @@ -199,6 +199,29 @@ void FunctionPropertiesInfo::updateForBB(const BasicBlock &BB, #undef CHECK_OPERAND } } + + if (IR2VecVocab) { + // We instantiate the IR2Vec embedder each time, as having an unique + // pointer to the embedder as member of the class would make it + // non-copyable. Instantiating the embedder in itself is not costly. + auto EmbOrErr = ir2vec::Embedder::create(IR2VecKind::Symbolic, ---------------- svkeerthy wrote:
Yes, we can do that. I'll put up a patch to remove it. 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