[Mlir-commits] [mlir] dd109f6 - [mlir][sve] Canonicalise MLIR_RUN_ARM_SVE_TESTS
Andrzej Warzynski
llvmlistbot at llvm.org
Fri Oct 28 14:13:52 PDT 2022
Author: Andrzej Warzynski
Date: 2022-10-28T21:13:43Z
New Revision: dd109f61597b4ed42e18a88c06da0553bfeb16a8
URL: https://github.com/llvm/llvm-project/commit/dd109f61597b4ed42e18a88c06da0553bfeb16a8
DIFF: https://github.com/llvm/llvm-project/commit/dd109f61597b4ed42e18a88c06da0553bfeb16a8.diff
LOG: [mlir][sve] Canonicalise MLIR_RUN_ARM_SVE_TESTS
Similarly to other CMake variables used to configure LIT tests, this
patch makes sure that MLIR_RUN_ARM_SVE_TESTS is canonicalised. The
corresponding LIT configuration is updated accordingly.
Differential Revision: https://reviews.llvm.org/D136967
Added:
Modified:
mlir/test/CMakeLists.txt
mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg
Removed:
################################################################################
diff --git a/mlir/test/CMakeLists.txt b/mlir/test/CMakeLists.txt
index 7a43b43c65252..5b40591ef8d1a 100644
--- a/mlir/test/CMakeLists.txt
+++ b/mlir/test/CMakeLists.txt
@@ -50,6 +50,7 @@ llvm_canonicalize_cmake_booleans(
MLIR_RUN_AMX_TESTS
MLIR_RUN_CUDA_TENSOR_CORE_TESTS
MLIR_RUN_X86VECTOR_TESTS
+ MLIR_RUN_ARM_SVE_TESTS
)
configure_lit_site_cfg(
diff --git a/mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg b/mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg
index 8f84117268891..077904cc44df0 100644
--- a/mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg
+++ b/mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg
@@ -1,7 +1,7 @@
import sys
# ArmSVE tests must be enabled via build flag.
-if config.mlir_run_arm_sve_tests != 'ON':
+if not config.mlir_run_arm_sve_tests:
config.unsupported = True
# No JIT on win32.
More information about the Mlir-commits
mailing list