This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tensor] TrackingListener: Find replacement ops through cast-like InsertSliceOps
ClosedPublic

Authored by springerm on May 25 2023, 4:23 AM.

Details

Summary

Certain InsertSliceOps, that do not use elements from the destination, are treated like casts when looking for replacement ops. Such InsertSliceOps are typically rank expansions.

Tensors with dynamic shape are not supported at the moment.

Also adds test cases for the TrackingListener.

Diff Detail