[mlir][linalg] lower index operations during linalg to loop lowering.
authorTobias Gysi <gysit@google.com>
Tue, 13 Apr 2021 08:37:40 +0000 (08:37 +0000)
committerTobias Gysi <gysit@google.com>
Tue, 13 Apr 2021 09:04:09 +0000 (09:04 +0000)
commitef30179efff24a02d5f7a3380a7f3cab247b1338
tree670c4e0fa25645d433125497d6f34dd462b213d4
parent121cff78a8032a73aa4fb820625dc1ecae8e3997
[mlir][linalg] lower index operations during linalg to loop lowering.

The patch extends the linalg to loop lowering pass to replace all linalg index operations by the induction variables of the generated loop nests.

Differential Revision: https://reviews.llvm.org/D100364
mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
mlir/test/Dialect/Linalg/loop-order.mlir
mlir/test/Dialect/Linalg/loops.mlir