[llvm-branch-commits] [llvm] [IR2Vec] Add embeddings mode to llvm-ir2vec tool (PR #147844)
Aiden Grossman via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Thu Jul 10 08:50:03 PDT 2025
================
@@ -0,0 +1,73 @@
+; RUN: llvm-ir2vec --mode=embeddings --ir2vec-vocab-path=%S/../../Analysis/IR2Vec/Inputs/dummy_3D_nonzero_opc_vocab.json %s | FileCheck %s -check-prefix=CHECK-DEFAULT
----------------
boomanaiden154 wrote:
Given you access `%S../../Analysis/IR2Vec/Inputs` so often, I'm wondering if it makes sense to add a lit substitution. Maybe something like `%ir2vec_test_vocab` or something.
https://github.com/llvm/llvm-project/pull/147844
More information about the llvm-branch-commits
mailing list