This patch adds constant folder for TanhOp which only supports single and double precision floating-point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D130960
[mlir][Math] Add constant folder for TanhOp. ClosedPublic Authored by jacquesguan on Aug 1 2022, 8:37 PM.
Details Summary This patch adds constant folder for TanhOp which only supports single and double precision floating-point.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 1 2022, 8:40 PM Closed by commit rG008ea1c20148: [mlir][Math] Add constant folder for TanhOp. (authored by jacquesguan). · Explain WhyAug 2 2022, 4:38 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 449262 mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|