llvm-project/llvm/test/Transforms/Inline/ML
Mircea Trofin f29256a64a [MLGO] Improved support for AOT cross-targeting scenarios
The tensorflow AOT compiler can cross-target, but it can't run on (for
example) arm64. We added earlier support where the AOT-ed header and object
would be built on a separate builder and then passed at build time to
a build host where the AOT compiler can't run, but clang can be otherwise
built.

To simplify such scenarios given we now support more than one AOT-able
case (regalloc and inliner), we make the AOT scenario centered on whether
files are generated, case by case (this includes the "passed from a
different builder" scenario).
This means we shouldn't need an 'umbrella' LLVM_HAVE_TF_AOT, in favor of
case by case control. A builder can opt out of an AOT case by passing that case's
model path as `none`. Note that the overrides still take precedence.

This patch controls conditional compilation with case-specific flags,
which can be enabled locally, for the component where those are
available. We still keep an overall flag for some tests.

The 'development/training' mode is unchanged, because there the model is
passed from the command line and interpreted.

Differential Revision: https://reviews.llvm.org/D117752
2022-01-20 07:05:39 -08:00
..
Inputs
bounds-checks-rewards.ll [NFC][mlgo]Make the test model generator inlining-specific 2021-12-22 13:38:45 -08:00
bounds-checks.ll [MLGO] Improved support for AOT cross-targeting scenarios 2022-01-20 07:05:39 -08:00
dev-mode-log-deleted.ll [MLGO] Make sure inliner logs when deleting callees 2021-08-23 14:54:46 -07:00
development-training-log.ll [NFC][mlgo]Make the test model generator inlining-specific 2021-12-22 13:38:45 -08:00
ml-test-development-mode.ll [NFC][mlgo]Make the test model generator inlining-specific 2021-12-22 13:38:45 -08:00
ml-test-release-mode.ll [MLGO] Improved support for AOT cross-targeting scenarios 2022-01-20 07:05:39 -08:00
size-estimator-default.ll
size-estimator-training.ll
state-tracking-coro.ll Fix build break introduced by D115847 2022-01-18 11:34:18 -08:00
state-tracking-scc-splits.ll [mlgo][inline] Improve global state tracking 2022-01-18 17:45:34 +00:00
state-tracking.ll [mlgo][inline] Improve global state tracking 2022-01-18 17:45:34 +00:00