This patch folds negf(negf(x)) to x.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125955
[mlir][Arithmetic] fold overlapping negf. ClosedPublic Authored by jacquesguan on May 19 2022, 2:28 AM.
Details Summary This patch folds negf(negf(x)) to x.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 19 2022, 8:26 AM Closed by commit rG0e02bf635821: [mlir][Arithmetic] fold overlapping negf. (authored by jacquesguan). · Explain WhyMay 19 2022, 7:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 430866 mlir/lib/Dialect/Arithmetic/IR/ArithmeticOps.cpp
mlir/test/Dialect/Arithmetic/canonicalize.mlir
|