Split tosa.reshape into three individual lowerings: collapse, expand and a combination of both. Add simple dynamic shape support.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D113936
[tosa][mlir] Add refactor to the the tosa.reshape lowering to linalg and add handling of dynamic cases. ClosedPublic Authored by NatashaKnk on Nov 15 2021, 12:51 PM.
Details Summary Split tosa.reshape into three individual lowerings: collapse, expand and a combination of both. Add simple dynamic shape support.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Nov 15 2021, 3:30 PM Closed by commit rG381677dfbfea: [tosa][mlir] Refactor tosa.reshape lowering to linalg for dynamic cases. (authored by NatashaKnk, committed by rsuderman). · Explain WhyNov 15 2021, 3:32 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 387423 mlir/lib/Conversion/TosaToLinalg/TosaToLinalg.cpp
mlir/test/Conversion/TosaToLinalg/tosa-to-linalg.mlir
|