This is an archive of the discontinued LLVM Phabricator instance.

[mlir][bufferize] Improve to_tensor/to_memref folding
ClosedPublic

Authored by springerm on Jun 26 2022, 11:40 AM.

Details

Summary

Fold all to_tensor/to_memref pairs during canonicalization. This is needed for some sparse compiler test cases, but will also lead to cleaner IR post-bufferization in general.

Diff Detail