[mlir][Linalg] Fixing bug in subview size computation in Linalg tiling.
authorMaheshRavishankar <ravishankarm@google.com>
Thu, 23 Jul 2020 17:20:54 +0000 (10:20 -0700)
committerMaheshRavishankar <ravishankarm@google.com>
Thu, 23 Jul 2020 18:09:55 +0000 (11:09 -0700)
commit4ff48db68dbb209ccdb190d1661832bb2a2d47fd
tree21145b85a24ae9795c7fd80a4b0d3ad8a458575d
parent918ba933673a515240db867ce9467879ceb4da9f
[mlir][Linalg] Fixing bug in subview size computation in Linalg tiling.

The `makeTiledViews` did not use the sizes of the tiled views based on
the result of the loop bound inference computation. This manifested as
an error in computing tile sizes with convolution where not all the
result expression of concatenated affine maps are simple
AffineDimExpr.

Differential Revision: https://reviews.llvm.org/D84366
mlir/lib/Dialect/Linalg/Transforms/Tiling.cpp
mlir/test/Dialect/Linalg/tile_conv.mlir
mlir/test/Dialect/Linalg/tile_simple_conv.mlir [new file with mode: 0644]