This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Fold memref.dim of OffsetSizeAndStrideOpInterface outputs
ClosedPublic

Authored by tpopp on May 25 2021, 2:38 AM.

Details

Summary

This previously handled memref::SubviewOp, but this can be extended to
all ops implementing the interface.

Diff Detail

Event Timeline

tpopp created this revision.May 25 2021, 2:38 AM
tpopp requested review of this revision.May 25 2021, 2:38 AM
frgossen added inline comments.
mlir/test/Dialect/MemRef/canonicalize.mlir
199

nit: not used

frgossen accepted this revision.May 25 2021, 2:45 AM
This revision is now accepted and ready to land.May 25 2021, 2:45 AM
tpopp marked an inline comment as done.May 25 2021, 3:16 AM
This revision was landed with ongoing or failed builds.May 25 2021, 3:17 AM
This revision was automatically updated to reflect the committed changes.