This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg] Insert a cast for identity linalg.generics when the types don't match
ClosedPublic

Authored by bkramer on Jan 17 2022, 8:40 AM.

Details

Summary

This can happen when the result has different dynamic dimensions than
the input.

Diff Detail

Event Timeline

bkramer created this revision.Jan 17 2022, 8:40 AM
bkramer requested review of this revision.Jan 17 2022, 8:40 AM
mravishankar accepted this revision.Jan 18 2022, 1:42 PM

Thanks! This is another use case for better static dims propagation.

This revision is now accepted and ready to land.Jan 18 2022, 1:42 PM