Skip to content

Commit f06a24c

Browse files
committed
[mlir][vector] Remove Emulated Sub-directory
The "Emulated" sub-directory under "ArmSVE" has been removed. Associated tests have been up a directory and now include the "REQUIRES" constraint for the arm-emulator.
1 parent c5c530f commit f06a24c

File tree

5 files changed

+8
-81
lines changed

5 files changed

+8
-81
lines changed

mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/lit.local.cfg

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

mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-scalable-deinterleave.mlir

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

mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/Emulated/test-setArmVLBits.mlir

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

mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/lit.local.cfg

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,8 @@ if not config.mlir_run_arm_sve_tests:
77
# No JIT on win32.
88
if sys.platform == "win32":
99
config.unsupported = True
10+
11+
# The tests in this folder assume full control of the hardware features, such as
12+
# the vector length, so must be run under an emulator.
13+
if not config.arm_emulator_executable:
14+
config.unsupported = True

mlir/test/lit.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,3 +250,6 @@ def have_host_jit_feature_support(feature_name):
250250

251251
if config.run_rocm_tests:
252252
config.available_features.add("host-supports-amdgpu")
253+
254+
if config.arm_emulator_executable:
255+
config.available_features.add("arm-emulator-executable")

0 commit comments

Comments
 (0)