Skip to content

Commit 26fb07e

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

File tree

6 files changed

+9
-10
lines changed

6 files changed

+9
-10
lines changed

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

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

mlir/test/Integration/Dialect/Vector/CPU/ArmSME/Emulated/test-setArmSVLBits.mlir renamed to mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-setArmSVLBits.mlir

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// REQUIRES: arm-emulator
2+
13
// DEFINE: %{entry_point} = main
24
// DEFINE: %{compile} = mlir-opt %s \
35
// DEFINE: --pass-pipeline="builtin.module(func.func(convert-arm-sme-to-llvm),test-lower-to-llvm)"

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 renamed to mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/test-scalable-deinterleave.mlir

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// REQUIRES: arm-emulator
2+
13
// DEFINE: %{entry_point} = entry
24
// DEFINE: %{compile} = mlir-opt %s -test-lower-to-llvm
35
// DEFINE: %{run} = %mcr_aarch64_cmd -march=aarch64 -mattr=+sve \

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// REQUIRES: arm-emulator
2+
13
// DEFINE: %{entry_point} = main
24
// DEFINE: %{compile} = mlir-opt %s -test-lower-to-llvm
35
// DEFINE: %{run} = %mcr_aarch64_cmd -march=aarch64 -mattr=+sve \

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")

0 commit comments

Comments
 (0)