[all-commits] [llvm/llvm-project] 9112ec: [mlgo] Use LLVM_HAVE_TFLITE instead of LLVM_HAVE_T...
kazutakahirata via All-commits
all-commits at lists.llvm.org
Thu Dec 15 11:11:39 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9112ec6ad0593b067762ae24a036d207f689c78a
https://github.com/llvm/llvm-project/commit/9112ec6ad0593b067762ae24a036d207f689c78a
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
M llvm/lib/Analysis/CMakeLists.txt
M llvm/unittests/Analysis/CMakeLists.txt
Log Message:
-----------
[mlgo] Use LLVM_HAVE_TFLITE instead of LLVM_HAVE_TF_API
This patch replaces uses of LLVM_HAVE_TF_API with LLVM_HAVE_TFLITE in
a couple of CMakeLists.txt.
Now that 842b0d0fe2dd142305a9461e50cdce9aff7f86bc has landed,
we now have:
LLVM_HAVE_TF_API is defined if and only if LLVM_HAVE_TFLITE
evaluates to true
in the CMake variable world (assuming that you do not set
LLVM_HAVE_TF_API on the cmake invocation).
FWIW, the story is a little different in the C++ macro world, where:
LLVM_HAVE_TF_API is defined if and only if LLVM_HAVE_TFLITE is
defined
This is why edc83a15b45e6b91fce3f35622a6b0a6d34e5211 consisted only of
mechanical replacements.
Differential Revision: https://reviews.llvm.org/D140061
More information about the All-commits
mailing list