Folding reshapes of splats is trivial and should be canonicalized
away.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D132760
[mlir][tosa] Fold tosa.reshape with splat values ClosedPublic Authored by rsuderman on Aug 26 2022, 1:54 PM.
Details Summary Folding reshapes of splats is trivial and should be canonicalized
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 29 2022, 1:37 PM Closed by commit rG43e1fc58dd1f: [mlir][tosa] Fold tosa.reshape with splat values (authored by rsuderman). · Explain WhyAug 29 2022, 5:20 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 456016 mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
mlir/test/Dialect/Tosa/constant-op-fold.mlir
|