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