[Mlir-commits] [mlir] [MLIR][test] Run Integration tests for CPU using qemu-aarch64 (PR #101568)

Zhaoshi Zheng llvmlistbot at llvm.org
Mon Aug 12 14:47:23 PDT 2024


================
@@ -18,5 +35,12 @@ if config.riscv_vector_emulator_executable:
         emulation_cmd = emulation_cmd + " " + config.riscv_vector_emulator_options
     emulation_cmd = emulation_cmd + " " + lli_cmd + " --march=riscv64 -mattr=+v "
     config.substitutions.append(("%lli", emulation_cmd))
+elif config.arm_emulator_executable:
+    # Run test in qemu emulator.
+    emulation_cmd = config.arm_emulator_executable
+    if config.arm_emulator_options:
+        emulation_cmd = emulation_cmd + " " + config.arm_emulator_options
+    emulation_cmd = emulation_cmd + " " + lli_cmd + " --march=aarch64 -mattr=+neon "
----------------
zhaoshiz wrote:

Reverted changes to test/Integration/Dialect/LLVMIR/CPU/lit.local.cfg and sinked substitutions rule of `%mlir_native_utils_lib_dir` to test/Integration/Dialect/SparseTensor/CPU/lit.local.cfg.

https://github.com/llvm/llvm-project/pull/101568


More information about the Mlir-commits mailing list