[PATCH] D75058: [mlir] simplify affine maps and operands in affine.min/max

Alex Zinenko via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 24 08:49:18 PST 2020


ftynse created this revision.
ftynse added reviewers: herhut, nicolasvasilache, andydavis1.
Herald added subscribers: llvm-commits, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, antiagainst, shauheen, burmako, jpienaar, rriddle, mehdi_amini.
Herald added a project: LLVM.

Affine dialect already has a map+operand simplification infrastructure in
place. Plug the recently added affine.min/max operations into this
infrastructure and add a simple test. More complex behavior of the simplifier
is already tested by other ops.

Addresses https://bugs.llvm.org/show_bug.cgi?id=45008.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75058

Files:
  mlir/include/mlir/Dialect/AffineOps/AffineOps.td
  mlir/lib/Dialect/AffineOps/AffineOps.cpp
  mlir/test/AffineOps/canonicalize.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75058.246228.patch
Type: text/x-patch
Size: 4303 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200224/b4e45742/attachment-0001.bin>


More information about the llvm-commits mailing list