[Mlir-commits] [mlir] [mlir][linalg, tosa] Fix memory leaks in integration tests (PR #85366)

Andrzej WarzyƄski llvmlistbot at llvm.org
Mon Mar 25 04:09:12 PDT 2024


banach-space wrote:

OK, I've just checked and see that both SVE and SME integration tests also require updating.

**SVE** 
Use these flags:

      -DMLIR_INCLUDE_INTEGRATION_TESTS=On
      -DMLIR_RUN_ARM_SVE_TESTS=On

Updated in #86488

**SME**
Use these flags:

      -DMLIR_INCLUDE_INTEGRATION_TESTS=On
      -DMLIR_RUN_ARM_SME_TESTS=On
      -DARM_EMULATOR_EXECUTABLE=<path-to-emulator> 

These tests need to run under an emulator (there's no hardware) and that seems to prevent the sanitizer from working:

> LeakSanitizer does not work under ptrace (strace, gdb, etc)

Updated in <TODO>

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


More information about the Mlir-commits mailing list