This canonicalizer replaces reshapes of constant tensors that contain the updated shape (skipping the reshape operation).
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D112038
Implementation of `ReshapeNoopOptimization` canonicalizer. ClosedPublic Authored by KoolJBlack on Oct 18 2021, 4:10 PM.
Details Summary This canonicalizer replaces reshapes of constant tensors that contain the updated shape (skipping the reshape operation).
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Oct 19 2021, 3:57 PM Closed by commit rG9c62bb55f473: Implementation of `ReshapeNoopOptimization` canonicalizer. (authored by KoolJBlack, committed by rsuderman). · Explain WhyOct 19 2021, 4:08 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 380801 mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
mlir/test/Dialect/Tosa/canonicalize.mlir
|
mlir uses camelCase variable names.