This consolidates where this kind of implementations lives and
refactor the code to have more code sharing.
NFC
Paths
| Differential D154362
[mlir][arith] Move getNeutralElement from Linalg utils to arith ClosedPublic Authored by qcolombet on Jul 3 2023, 9:22 AM.
Details Summary This consolidates where this kind of implementations lives and NFC
Diff Detail
Event TimelineHerald added subscribers: limo1996, stephenneuendorffer. · View Herald TranscriptJul 3 2023, 9:22 AM qcolombet added a child revision: D154363: [mlir] Add an interface to decompose complex ops.Jul 3 2023, 9:32 AM This revision is now accepted and ready to land.Jul 3 2023, 9:42 AM Closed by commit rGf8e59b09f42c: [mlir][arith] Move getNeutralElement from Linalg utils to arith (authored by qcolombet). · Explain WhyJul 4 2023, 5:01 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 536796 mlir/include/mlir/Dialect/Arith/IR/Arith.h
mlir/include/mlir/Dialect/Linalg/Utils/Utils.h
mlir/lib/Dialect/Arith/IR/ArithOps.cpp
mlir/lib/Dialect/Linalg/Transforms/SplitReduction.cpp
mlir/lib/Dialect/Linalg/Transforms/TilingInterfaceImpl.cpp
mlir/lib/Dialect/Linalg/Utils/Utils.cpp
mlir/test/Dialect/Linalg/transform-tile-reduction.mlir
|