Skip to content

Commit eb0c96c

Browse files
committed
Fix error in test
1 parent d3f8c84 commit eb0c96c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/unittests/Analysis/IR2VecTest.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ namespace {
3030
class TestableEmbedder : public Embedder {
3131
public:
3232
TestableEmbedder(const Function &F, const Vocabulary &V) : Embedder(F, V) {}
33-
Embedding computeEmbeddings(const Instruction &I) const override {}
33+
Embedding computeEmbeddings(const Instruction &I) const override {
34+
return Embedding();
35+
}
3436
};
3537

3638
TEST(EmbeddingTest, ConstructorsAndAccessors) {

0 commit comments

Comments
 (0)