This patch adds constant folder for Exp2Op which only supports single and double precision floating-point.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D130472
[mlir][Math] Add constant folder for Exp2Op. ClosedPublic Authored by jacquesguan on Jul 25 2022, 3:13 AM.
Details Summary This patch adds constant folder for Exp2Op which only supports single and double precision floating-point.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 25 2022, 1:34 PM Closed by commit rG78015047b22d: [mlir][Math] Add constant folder for Exp2Op. (authored by jacquesguan). · Explain WhyJul 25 2022, 5:57 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 447530 mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|