This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Move Linalg tensors-to-buffers tests to Linalg tests.
ClosedPublic

Authored by pifon2a on Oct 11 2020, 11:09 AM.

Details

Summary

The buffer placement preparation tests in
test/Transforms/buffer-placement-preparation* are using Linalg as a test
dialect which leads to confusion and "copy-pasta", i.e. Linalg is being
extended now and when TensorsToBuffers.cpp is changed, TestBufferPlacement is
sometimes kept in-sync, which should not be the case.

This has led to the unnoticed bug, because the tests were in a different directory and the patterns were slightly off.

Diff Detail

Event Timeline

pifon2a created this revision.Oct 11 2020, 11:09 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 11 2020, 11:09 AM
pifon2a requested review of this revision.Oct 11 2020, 11:09 AM
This revision is now accepted and ready to land.Oct 12 2020, 12:35 AM