Enable constant folding of ops within the math dialect, and introduce constant folders for ceil and log2
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D117085
[MLIR][Math] Enable constant folding of ops ClosedPublic Authored by wsmoses on Jan 11 2022, 9:27 PM.
Details Summary Enable constant folding of ops within the math dialect, and introduce constant folders for ceil and log2
Diff Detail
Event TimelineHerald added subscribers: sdasgup3, wenzhicui, wrengr and 18 others. · View Herald TranscriptJan 11 2022, 9:27 PM This revision is now accepted and ready to land.Jan 11 2022, 10:37 PM Closed by commit rG2f8b956ab6e6: [MLIR][Math] Enable constant folding of ops (authored by wsmoses). · Explain WhyJan 11 2022, 10:55 PM This revision was automatically updated to reflect the committed changes. wsmoses added a reverting change: rGd2c547342c6d: Revert "[MLIR][Math] Enable constant folding of ops".Jan 11 2022, 11:01 PM
Revision Contents
Diff 399199 mlir/include/mlir/Dialect/Math/IR/MathBase.td
mlir/include/mlir/Dialect/Math/IR/MathOps.td
mlir/lib/Dialect/Math/IR/MathOps.cpp
mlir/test/Dialect/Math/canonicalize.mlir
|