[llvm][NFC] Remove definition from build system of LLVM_HAVE_TF_AOT
authorMircea Trofin <mtrofin@google.com>
Wed, 22 Jul 2020 18:16:08 +0000 (11:16 -0700)
committerMircea Trofin <mtrofin@google.com>
Wed, 22 Jul 2020 18:16:08 +0000 (11:16 -0700)
commit652e30476c52d2b47295bcf37a89a8824a1b6b9d
treeb2b72ceb2982bcb48ae0494fcdfce76b1cfecc1f
parentd26526fd096c927d41949b77160ec750f4068f2a
[llvm][NFC] Remove definition from build system of LLVM_HAVE_TF_AOT

We can just use the definition from config.h. This means we need to move
a few lines around in CMakeLists.txt - the TF_AOT detection needs to be
before the spot we process the config.h.cmake files.

Differential Revision: https://reviews.llvm.org/D84349
llvm/CMakeLists.txt
llvm/include/llvm/Analysis/InlineAdvisor.h