Skip to content

Commit d3fe2b5

Browse files
committed
Revert "[mlir][test] Make SME e2e tests require an emulator (#86489)"
This reverts commit 7b52552. Broken bot: * https://lab.llvm.org/buildbot/#/builders/179/builds/9794
1 parent 5fd9bab commit d3fe2b5

File tree

3 files changed

+1
-116
lines changed

3 files changed

+1
-116
lines changed

mlir/cmake/modules/MLIRCheckHardwareFeatures.cmake

Lines changed: 0 additions & 101 deletions
This file was deleted.

mlir/docs/Dialects/ArmSME.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,14 @@ This dialect defines custom and LLVM IR intrinsic operations that are used to
66
target Arm Scalable Matrix Extension. Through the available conversion and
77
ArmSME passes you can, for example, lower a
88
[linalg.matmul](https://mlir.llvm.org/docs/Dialects/Linalg/#linalgmatmul-linalgmatmulop)
9-
operation to Arm SME
9+
opereation to Arm SME
1010
[FMOPA](https://developer.arm.com/documentation/ddi0602/2023-03/SME-Instructions/FMOPA--widening---Half-precision-floating-point-sum-of-outer-products-and-accumulate-)
1111
(floating-point outer product) operations. See one of the in-tree end-to-end
1212
integration tests for reference:
1313

1414
* [Linalg/CPU/ArmSME/matmul.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Linalg/CPU/ArmSME/matmul.mlir)
1515
* [Vector/CPU/ArmSME/test-outerproduct-f64.mlir](https://github.com/llvm/llvm-project/blob/main/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir)
1616

17-
In order to run ArmSME integration tests, include these flags in the CMake
18-
invocation when configuring LLVM and MLIR:
19-
```bash
20-
-DMLIR_INCLUDE_INTEGRATION_TESTS=On
21-
-DMLIR_RUN_ARM_SME_TESTS=On
22-
-DARM_EMULATOR_EXECUTABLE=<path-to-emulator>
23-
```
24-
2517
These tests are run "post-commit" by the
2618
[clang-aarch64-sve-vla](https://lab.llvm.org/buildbot/#/builders/197) LLVM
2719
BuildBot worker.

mlir/test/CMakeLists.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
include(MLIRCheckHardwareFeatures)
2-
31
add_subdirectory(CAPI)
42
add_subdirectory(lib)
53

@@ -41,10 +39,6 @@ if (MLIR_INCLUDE_INTEGRATION_TESTS)
4139
option(MLIR_RUN_ARM_SVE_TESTS "Run Arm SVE tests.")
4240
option(MLIR_RUN_ARM_SME_TESTS "Run Arm SME tests.")
4341

44-
# Check whether an emulator is required - if yes then make sure that it's
45-
# been set.
46-
check_emulator(MLIR_RUN_ARM_SVE_TESTS "HWCAP_SVE" ARM_EMULATOR_EXECUTABLE)
47-
check_emulator(MLIR_RUN_ARM_SME_TESTS "HWCAP2_SME" ARM_EMULATOR_EXECUTABLE)
4842

4943
# The native target may not be enabled when cross compiling, raise an error.
5044
if(NOT MLIR_ENABLE_EXECUTION_ENGINE)

0 commit comments

Comments
 (0)