Page MenuHomePhabricator

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

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



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