[all-commits] [llvm/llvm-project] 6c76d0: [mlgo][aot] requrie the model is autogenerated for...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Wed Oct 13 14:30:15 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c76d0101193aa4eb891a6954ff047eda2f9cf71
https://github.com/llvm/llvm-project/commit/6c76d0101193aa4eb891a6954ff047eda2f9cf71
Author: Mircea Trofin <mtrofin at google.com>
Date: 2021-10-13 (Wed, 13 Oct 2021)
Changed paths:
M llvm/CMakeLists.txt
M llvm/lib/Analysis/CMakeLists.txt
M llvm/test/CMakeLists.txt
M llvm/test/Transforms/Inline/ML/bounds-checks.ll
M llvm/test/Transforms/Inline/ML/ml-test-release-mode.ll
M llvm/test/lit.cfg.py
M llvm/test/lit.site.cfg.py.in
Log Message:
-----------
[mlgo][aot] requrie the model is autogenerated for test determinism
The tests that exercise the 'release' mode, where the model is AOT-ed,
check the output has certain properties, to validate that, indeed, a
different policy from the default one was exercised. For determinism, we
can't reliably check that output for an arbitrary learned policy, since
it could be that policy happens to mimic the default one in that
particular case.
This patch adds a requirement that those tests run only when the model
is autogenerated (e.g. on build bots).
Differential Revision: https://reviews.llvm.org/D111747
More information about the All-commits
mailing list