We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3779d79 commit 3491738Copy full SHA for 3491738
llvm/lib/Analysis/IR2Vec.cpp
@@ -200,6 +200,8 @@ void Embedder::computeEmbeddings() const {
200
if (F.isDeclaration())
201
return;
202
203
+ FuncVector = Embedding(Dimension, 0.0);
204
+
205
// Consider only the basic blocks that are reachable from entry
206
for (const BasicBlock *BB : depth_first(&F)) {
207
computeEmbeddings(*BB);
0 commit comments