diff options
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r-- | llvm/test/lit.cfg.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py index bd6e37c..143cc38 100644 --- a/llvm/test/lit.cfg.py +++ b/llvm/test/lit.cfg.py @@ -63,7 +63,7 @@ llvm_config.with_environment("OCAMLRUNPARAM", "b") def get_asan_rtlib(): if ( not "Address" in config.llvm_use_sanitizer - or not "Darwin" in config.host_os + or not "Darwin" in config.target_os or not "x86" in config.host_triple ): return "" @@ -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", |