llvm-project/mlir/lib/Dialect/Affine
Matthias Springer 8e8b70aa84 [mlir][scf] Simplify affine.min ops after loop peeling
Simplify affine.min ops, enabling various other canonicalizations inside the peeled loop body.

affine.min ops such as:
```
map = affine_map<(d0)[s0, s1] -> (s0, -d0 + s1)>
%r = affine.min #affine.min #map(%iv)[%step, %ub]
```
are rewritten them into (in the case the peeled loop):
```
%r = %step
```

To determine how an affine.min op should be rewritten and to prove its correctness, FlatAffineConstraints is utilized.

Differential Revision: https://reviews.llvm.org/D107222
2021-08-19 17:24:53 +09:00
..
IR [mlir][scf] Simplify affine.min ops after loop peeling 2021-08-19 17:24:53 +09:00
Transforms [mlir] Fix typo in SuperVectorizer 2021-08-18 22:55:12 +00:00
Utils [MLIR][NFC] Improve doc comment and delete stale comment 2021-07-16 15:00:15 +05:30
CMakeLists.txt [mlir][Affine] NFC - Drop Affine EDSC usage 2021-05-20 21:45:45 +00:00