This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Enable insertion of dealloc for end2end tests
ClosedPublic

Authored by herhut on Oct 4 2021, 7:51 AM.

Details

Summary

This uses the buffer-deallocation pass or, in case the test case does not use bufferization, has added explicit deallocs.

Diff Detail

Event Timeline

herhut created this revision.Oct 4 2021, 7:51 AM
herhut requested review of this revision.Oct 4 2021, 7:52 AM

@mehdi_amini not sure how to test this. Do the builders do this automatically?

nicolasvasilache accepted this revision.Oct 5 2021, 1:21 AM
This revision is now accepted and ready to land.Oct 5 2021, 1:21 AM

This seems like leaky in test-tensor-matmul.mlir ; can you look into this? Here is the log : https://lab.llvm.org/staging/#/builders/191/builds/1595

@mehdi_amini not sure how to test this. Do the builders do this automatically?

cmake '-DLLVM_USE_SANITIZER=Address;Undefined'
(using clang as host compiler)