- If the input is a constant splat value, we just need to reshape it.
- If the input is a general constant with one user, we can also constant fold it, without bloating the IR.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D110439
[mlir][tosa] Add some transpose folders ClosedPublic Authored by antiagainst on Sep 24 2021, 12:09 PM.
Details Summary
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 24 2021, 12:13 PM This revision was landed with ongoing or failed builds.Sep 24 2021, 12:25 PM Closed by commit rGe325ebb9c70b: [mlir][tosa] Add some transpose folders (authored by antiagainst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 374922 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
mlir/test/Dialect/Tosa/canonicalize.mlir
|
!op.input1().hasOneUse()?