[PATCH] D111747: [mlgo][aot] requrie the model is autogenerated for test determinism

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 13 10:45:40 PDT 2021


phosek added inline comments.


================
Comment at: llvm/test/lit.site.cfg.py.in:57
 config.have_tf_api = @LLVM_HAVE_TF_API@
+config.llvm_inliner_model_autogenerated = not @LLVM_INLINER_MODEL_PATH@ or @LLVM_INLINER_MODEL_PATH@ == "autogenerate"
 config.expensive_checks = @LLVM_ENABLE_EXPENSIVE_CHECKS@
----------------
`llvm_canonicalize_cmake_booleans` replaces every variable with 0 or 1 (depending on whether the variable evaluates to true or not in CMake) so this condition will always be false.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111747/new/

https://reviews.llvm.org/D111747



More information about the llvm-commits mailing list