There is not much of a benefit to reshape a from element vs reloading it.
Updated to progagate shape manipulations into the output type of
tensor.from_elements.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D118201
[mlir] Fold tensor.reshape operations into tensor.from_elements. ClosedPublic Authored by rsuderman on Jan 25 2022, 3:37 PM.
Details Summary There is not much of a benefit to reshape a from element vs reloading it.
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 20 others. · View Herald TranscriptJan 25 2022, 3:37 PM This revision is now accepted and ready to land.Jan 25 2022, 3:51 PM This revision was landed with ongoing or failed builds.Jan 25 2022, 3:57 PM Closed by commit rGd81a3c51e7f7: [mlir] Fold tensor.reshape operations into tensor.from_elements. (authored by rsuderman). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 403064 mlir/lib/Dialect/Tensor/IR/TensorOps.cpp
mlir/test/Dialect/Tensor/canonicalize.mlir
|