This patch uses constFoldUnaryOpConditional to replace current folder in order to support constant dense.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D129459
[mlir][Math] Support fold SqrtOp with constant dense. ClosedPublic Authored by jacquesguan on Jul 10 2022, 8:07 PM.
Details Summary This patch uses constFoldUnaryOpConditional to replace current folder in order to support constant dense.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 12 2022, 12:33 AM
This revision was landed with ongoing or failed builds.Jul 12 2022, 1:46 AM Closed by commit rG4d7d5c5f0025: [mlir][Math] Support fold SqrtOp with constant dense. (authored by jacquesguan). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 443862 mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|
Can this be a switch instead?