[Mlir-commits] [mlir] [mlir][linalg, tosa] Fix memory leaks in integration tests (PR #85366)
Andrzej WarzyĆski
llvmlistbot at llvm.org
Sat Mar 16 04:36:30 PDT 2024
banach-space wrote:
> Btw, I ran `check-mlir` with the address sanitizer today and I did not see any failing/leaking ArmSME tests.
Just to double check, you will need to use these flags (and have recent `qemu-aarch64` available):
```bash
-DMLIR_INCLUDE_INTEGRATION_TESTS=On -DMLIR_RUN_ARM_SME_TESTS=On -DARM_EMULATOR_EXECUTABLE=<path-to>/qemu-aarch64
```
In particular, `MLIR_INCLUDE_INTEGRATION_TESTS` alone is not sufficient :)
> To check for leaks, I built MLIR with -DLLVM_USE_SANITIZER="Address" and ran check-mlir. Ideally, we'd have a build bot that runs with ASAN.
@DavidSpickett Something to consider for [clang-aarch64-full-2stage](https://github.com/llvm/llvm-zorg/blob/fc6abb646e1cb9df314bcb507968bde025a1a3a3/buildbot/osuosl/master/config/builders.py#L421-L445)? Or would that be too much potential noise?
https://github.com/llvm/llvm-project/pull/85366
More information about the Mlir-commits
mailing list