This patch adds constant folder for SinOp by using sin/sinf of libm.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D133915
[mlir][Math] Add constant folder for SinOp. ClosedPublic Authored by jacquesguan on Sep 14 2022, 11:35 PM.
Details Summary This patch adds constant folder for SinOp by using sin/sinf of libm.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 15 2022, 1:34 AM Closed by commit rG71e52a125cb5: [mlir][Math] Add constant folder for SinOp. (authored by jacquesguan). · Explain WhySep 15 2022, 11:30 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 460653 mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|