This patch adds constant folder for AtanOp which only supports single and double precision floating-point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D130983
[mlir][Math] Add constant folder for AtanOp. ClosedPublic Authored by jacquesguan on Aug 2 2022, 4:50 AM.
Details Summary This patch adds constant folder for AtanOp which only supports single and double precision floating-point.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 2 2022, 7:19 AM Closed by commit rG752c9d0dab8b: [mlir][Math] Add constant folder for AtanOp. (authored by jacquesguan). · Explain WhyAug 2 2022, 11:17 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 449550 mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
mlir/test/mlir-cpu-runner/math-polynomial-approx.mlir
|