[all-commits] [llvm/llvm-project] 505afd: [mlir] Clean up boolean flags usage in LIT tests
Vladislav Vinogradov via All-commits
all-commits at lists.llvm.org
Tue Oct 12 02:05:25 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 505afd1e648355b3301d167a0fdc3d3bb402b351
https://github.com/llvm/llvm-project/commit/505afd1e648355b3301d167a0fdc3d3bb402b351
Author: Vladislav Vinogradov <vlad.vinogradov at intel.com>
Date: 2021-10-12 (Tue, 12 Oct 2021)
Changed paths:
M mlir/test/CMakeLists.txt
M mlir/test/Integration/Dialect/Vector/CPU/AMX/lit.local.cfg
M mlir/test/Integration/Dialect/Vector/CPU/X86Vector/lit.local.cfg
M mlir/test/Integration/GPU/CUDA/TensorCore/lit.local.cfg
M mlir/test/Integration/lit.local.cfg
M mlir/test/lit.site.cfg.py.in
M mlir/test/python/integration/lit.local.cfg
Log Message:
-----------
[mlir] Clean up boolean flags usage in LIT tests
* Call `llvm_canonicalize_cmake_booleans` for all CMake options,
which are propagated to `lit.local.cfg` files.
* Use Python native boolean values instead of strings for such options.
This fixes the cases, when CMake variables have values other than `ON` (like `TRUE`).
This might happen due to IDE integration or due to CMake preset usage.
Reviewed By: ftynse
Differential Revision: https://reviews.llvm.org/D110073
More information about the All-commits
mailing list