This is an archive of the discontinued LLVM Phabricator instance.

[MLIR][Linalg] Fix propagation for rank-zero tensor
ClosedPublic

Authored by chelini on Feb 28 2023, 10:44 AM.

Details

Summary

isScalar only returns true if the operand is non-shaped.
But we need to handle also rank zero tensors.

Diff Detail

Event Timeline

chelini created this revision.Feb 28 2023, 10:44 AM
chelini requested review of this revision.Feb 28 2023, 10:44 AM
hanchung accepted this revision.Feb 28 2023, 1:30 PM
This revision is now accepted and ready to land.Feb 28 2023, 1:30 PM
This revision was landed with ongoing or failed builds.Mar 1 2023, 12:31 AM
This revision was automatically updated to reflect the committed changes.