[mlir][affine] Add single result affine.min/max -> affine.apply canonicalization.
authorNicolas Vasilache <nicolas.vasilache@gmail.com>
Wed, 14 Jul 2021 20:33:29 +0000 (20:33 +0000)
committerNicolas Vasilache <nicolas.vasilache@gmail.com>
Wed, 14 Jul 2021 20:38:06 +0000 (20:38 +0000)
commitdf538fdaa985e7e64a572dd84b878c562899e5e8
tree674b3fb202e7db1226e71ec05642bc1c607fa5da
parent7e496c29e2bc85e5b769e0175ca9637dbff5615a
[mlir][affine] Add single result affine.min/max -> affine.apply canonicalization.

Differential Revision: https://reviews.llvm.org/D106014
mlir/lib/Dialect/Affine/IR/AffineOps.cpp
mlir/test/Dialect/Affine/canonicalize.mlir