This is an archive of the discontinued LLVM Phabricator instance.

[mlir][memref] Fix expanded shape ops memref.cast folding with changed type
ClosedPublic

Authored by bkramer on Nov 22 2021, 1:14 PM.

Details

Summary

memref.expand_shape has verification logic to make sure
result dim must be static if all the collapsing src dims are static.

This can be relaxed once expand_shape supports more dynamism.

Diff Detail

Event Timeline

bkramer created this revision.Nov 22 2021, 1:14 PM
bkramer requested review of this revision.Nov 22 2021, 1:14 PM
pifon2a accepted this revision.Nov 22 2021, 1:45 PM
This revision is now accepted and ready to land.Nov 22 2021, 1:45 PM
This revision was landed with ongoing or failed builds.Nov 22 2021, 1:56 PM
This revision was automatically updated to reflect the committed changes.