Page MenuHomePhabricator

[MLIR] Check for static shape before bare pointer conversion

Authored by chelini on Apr 5 2022, 5:24 AM.



Originally in the returnOp conversion, the result type was changing to bare
pointer if the type was a memref. This is incorrect as conversion to bare
pointer can only be done if the memref has static shape, strides and offset.

Diff Detail

Event Timeline

chelini created this revision.Apr 5 2022, 5:24 AM
Herald added a project: Restricted Project. · View Herald Transcript
chelini requested review of this revision.Apr 5 2022, 5:24 AM
ftynse accepted this revision.Apr 5 2022, 8:49 AM


This revision is now accepted and ready to land.Apr 5 2022, 8:49 AM