This is an archive of the discontinued LLVM Phabricator instance.

[mlgo] Use LLVM_HAVE_TFLITE instead of LLVM_HAVE_TF_API in C++ code (NFC)
ClosedPublic

Authored by kazu on Dec 12 2022, 10:55 AM.

Details

Summary

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.

Diff Detail

Event Timeline

kazu created this revision.Dec 12 2022, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 10:55 AM
kazu requested review of this revision.Dec 12 2022, 10:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 12 2022, 10:55 AM
mtrofin accepted this revision.Dec 12 2022, 11:21 AM
This revision is now accepted and ready to land.Dec 12 2022, 11:21 AM
This revision was landed with ongoing or failed builds.Dec 12 2022, 11:29 AM
This revision was automatically updated to reflect the committed changes.