isScalar only returns true if the operand is non-shaped.
But we need to handle also rank zero tensors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D144989
[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.
Diff Detail
Event TimelineThis 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 Closed by commit rG5885c85fc6a7: [MLIR][Linalg] Fix propagation for rank-zero tensor (authored by chelini). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 501405 mlir/lib/Dialect/Linalg/Transforms/DataLayoutPropagation.cpp
mlir/test/Dialect/Linalg/data-layout-propagation.mlir
|