aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMircea Trofin <mtrofin@google.com>2020-06-09 14:50:50 -0700
committerMircea Trofin <mtrofin@google.com>2020-06-24 08:18:42 -0700
commitbdceefe95ba6a3057947705ae7a48bfcbaed2f64 (patch)
treec0d060c74f81d796b923f52c199d8c450886516e /llvm/test/lit.cfg.py
parent[llvm] Added support for stand-alone cmake object libraries. (diff)
downloadllvm-project-bdceefe95ba6a3057947705ae7a48bfcbaed2f64.tar.gz
llvm-project-bdceefe95ba6a3057947705ae7a48bfcbaed2f64.tar.bz2
llvm-project-bdceefe95ba6a3057947705ae7a48bfcbaed2f64.zip
[llvm] Release-mode ML InlineAdvisor
Summary: This implementation uses a pre-trained model which is statically compiled into a native function. RFC: http://lists.llvm.org/pipermail/llvm-dev/2020-April/140763.html Reviewers: davidxl, jdoerfert, dblaikie Subscribers: mgorny, eraman, hiraditya, arphaman, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D81515
Diffstat (limited to 'llvm/test/lit.cfg.py')
-rw-r--r--llvm/test/lit.cfg.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/lit.cfg.py b/llvm/test/lit.cfg.py
index 49d345566b65..a3a97dd3b5c8 100644
--- a/llvm/test/lit.cfg.py
+++ b/llvm/test/lit.cfg.py
@@ -219,6 +219,9 @@ else:
if not config.build_shared_libs and not config.link_llvm_dylib:
config.available_features.add('static-libs')
+if config.have_tf_aot:
+ config.available_features.add("have_tf_aot")
+
def have_cxx_shared_library():
readobj_exe = lit.util.which('llvm-readobj', config.llvm_tools_dir)
if not readobj_exe: