[CMake][MLGO] Fix cmake for MLGO
authoreopXD <yueh.ting.chen@gmail.com>
Tue, 6 Sep 2022 07:31:58 +0000 (00:31 -0700)
committereopXD <yueh.ting.chen@gmail.com>
Tue, 6 Sep 2022 07:32:08 +0000 (00:32 -0700)
commitea3630e8d4df1d4a4dd9f0f97c0cac33261fea36
treea0d6f5be455b8b377bb495889a9b9b94e0d835b3
parentf65f06d63f6a0e40c33a9d77eeb381f1b2a8a524
[CMake][MLGO] Fix cmake for MLGO

The if-statement should check whehter TFLITE is on or not rather than if the variable is specified.

Reviewed By: mtrofin

Differential Revision: https://reviews.llvm.org/D132902
llvm/lib/Analysis/CMakeLists.txt