[all-commits] [llvm/llvm-project] 842b0d: [mlgo] Remove TENSORFLOW_C_LIB_PATH
kazutakahirata via All-commits
all-commits at lists.llvm.org
Mon Dec 12 11:28:56 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 842b0d0fe2dd142305a9461e50cdce9aff7f86bc
https://github.com/llvm/llvm-project/commit/842b0d0fe2dd142305a9461e50cdce9aff7f86bc
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M llvm/CMakeLists.txt
Log Message:
-----------
[mlgo] Remove TENSORFLOW_C_LIB_PATH
We use LLVM_HAVE_TFLITE as the key to enable the MLGO bits. We do not
use the "else" clause.
Differential Revision: https://reviews.llvm.org/D139860
Commit: edc83a15b45e6b91fce3f35622a6b0a6d34e5211
https://github.com/llvm/llvm-project/commit/edc83a15b45e6b91fce3f35622a6b0a6d34e5211
Author: Kazu Hirata <kazu at google.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M llvm/include/llvm/Analysis/ModelUnderTrainingRunner.h
M llvm/include/llvm/Analysis/Utils/TFUtils.h
M llvm/include/llvm/Analysis/Utils/TrainingLogger.h
M llvm/lib/Analysis/DevelopmentModeInlineAdvisor.cpp
M llvm/lib/Analysis/InlineAdvisor.cpp
M llvm/lib/Analysis/InlineSizeEstimatorAnalysis.cpp
M llvm/lib/Analysis/ModelUnderTrainingRunner.cpp
M llvm/lib/Analysis/TFLiteUtils.cpp
M llvm/lib/Analysis/TrainingLogger.cpp
M llvm/lib/CodeGen/MLRegallocEvictAdvisor.cpp
M llvm/lib/CodeGen/MLRegallocPriorityAdvisor.cpp
M llvm/lib/CodeGen/RegAllocEvictionAdvisor.cpp
M llvm/lib/CodeGen/RegAllocPriorityAdvisor.cpp
Log Message:
-----------
[mlgo] Use LLVM_HAVE_TFLITE instead of LLVM_HAVE_TF_API in C++ code (NFC)
We use LLVM_HAVE_TFLITE as the key to enable the mlgo work these days,
and LLVM_HAVE_TF_API is defined whenever LLVM_HAVE_TF_API is defined.
I'm posting this patch because it's purely mechanical.
I'll post a follow-up patch to remove LLVM_HAVE_TF_API in non-C++
files, and that will not be as mechanical as this one.
Differential Revision: https://reviews.llvm.org/D139863
Compare: https://github.com/llvm/llvm-project/compare/7793e676514b...edc83a15b45e
More information about the All-commits
mailing list