aboutsummaryrefslogtreecommitdiff
path: root/llvm/test/lit.cfg.py
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r--llvm/test/lit.cfg.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 1076456..143cc38 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -93,6 +93,13 @@ config.substitutions.append(("%pluginext", config.llvm_plugin_ext))
config.substitutions.append(("%exeext", config.llvm_exe_ext))
config.substitutions.append(("%llvm_src_root", config.llvm_src_root))
+# Add IR2Vec test vocabulary path substitution
+config.substitutions.append(
+ (
+ "%ir2vec_test_vocab_dir",
+ os.path.join(config.test_source_root, "Analysis", "IR2Vec", "Inputs"),
+ )
+)
lli_args = []
# The target triple used by default by lli is the process target triple (some
@@ -197,6 +204,7 @@ tools.extend(
"llvm-dlltool",
"llvm-exegesis",
"llvm-extract",
+ "llvm-ir2vec",
"llvm-isel-fuzzer",
"llvm-ifs",
"llvm-install-name-tool",