This transform op uses mlir::simplifyConstrainedMinMaxOp to simplify affine.min and affine.max ops based on a given constraints.
Depends On: https://reviews.llvm.org/D141141
Paths
| Differential D140997
[mlir][affine][transform] Simplify affine.min/max ops with given constraints ClosedPublic Authored by springerm on Jan 4 2023, 8:33 AM.
Details Summary This transform op uses mlir::simplifyConstrainedMinMaxOp to simplify affine.min and affine.max ops based on a given constraints. Depends On: https://reviews.llvm.org/D141141
Diff Detail
Event Timelinenicolasvasilache added inline comments.
This revision now requires changes to proceed.Jan 6 2023, 6:11 AM springerm marked 8 inline comments as done. Comment Actionsaddress comments
This revision is now accepted and ready to land.Jan 6 2023, 7:35 AM Comment Actions
Turns out this is a bug in the MultiOpPatternRewriteDriver. Fix in D141141. This revision was landed with ongoing or failed builds.Jan 13 2023, 1:29 AM Closed by commit rGfcd4778bdf4f: [mlir][affine][transform] Simplify affine.min/max ops with given constraints (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 486871 mlir/include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.h
mlir/include/mlir/Dialect/Affine/TransformOps/AffineTransformOps.tdmlir/lib/Dialect/Affine/TransformOps/AffineTransformOps.cpp
mlir/lib/Dialect/Affine/TransformOps/CMakeLists.txt
mlir/test/Dialect/Affine/transform-op-simplify-bounded-affine-ops.mlir
utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
|
this lacks a verifier that args are properly sized and invalid tests.