Consecutive element-wise negate should be canonicalized as no-op.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D150518
[mlir][tosa] Fold consecutive negate as no-op ClosedPublic Authored by Lewuathe on May 14 2023, 1:18 AM.
Details Summary Consecutive element-wise negate should be canonicalized as no-op.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 15 2023, 8:03 AM Closed by commit rGf243f7460296: [mlir][tosa] Fold consecutive negate as no-op (authored by Lewuathe). · Explain WhyMay 15 2023, 6:16 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 521980 mlir/include/mlir/Dialect/Tosa/IR/TosaOps.td
mlir/lib/Dialect/Tosa/IR/TosaCanonicalizations.cpp
mlir/test/Dialect/Tosa/canonicalize.mlir
|