This patch uses round/roundf of libm to fold RoundOp of constant.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D133401
[mlir][Math] Add constant folder for RoundOp. ClosedPublic Authored by jacquesguan on Sep 6 2022, 11:30 PM.
Details Summary This patch uses round/roundf of libm to fold RoundOp of constant.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 7 2022, 8:40 AM Comment Actions
Done. Closed by commit rGb53bccb18d2a: [mlir][Math] Add constant folder for RoundOp. (authored by jacquesguan). · Explain WhySep 7 2022, 11:51 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 458659 mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|