Fold cases where a tosa.reverse is a splat or reversing a dim
of length-1.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D133144
[mlir][tosa] Added tosa.reverse folder ClosedPublic Authored by rsuderman on Sep 1 2022, 12:46 PM.
Details Summary Fold cases where a tosa.reverse is a splat or reversing a dim
Diff Detail
Event Timelinejpienaar added inline comments. This revision is now accepted and ready to land.Sep 12 2022, 11:28 AM This revision was landed with ongoing or failed builds.Sep 12 2022, 5:30 PM Closed by commit rG3e49a3e89dbd: [mlir][tosa] Added tosa.reverse folder (authored by rsuderman). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 459598 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
mlir/test/Dialect/Tosa/constant-op-fold.mlir
|
Nit: MLIR convention is to elide braces for single line conditionals.