[all-commits] [llvm/llvm-project] 0f6999: [MLIR] Update linalg.conv lowering to use affine l...
Uday Bondhugula via All-commits
all-commits at lists.llvm.org
Fri Jun 5 00:06:10 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0f6999af88a08bd430699e72982caa9daf6fa604
https://github.com/llvm/llvm-project/commit/0f6999af88a08bd430699e72982caa9daf6fa604
Author: Uday Bondhugula <uday at polymagelabs.com>
Date: 2020-06-05 (Fri, 05 Jun 2020)
Changed paths:
M mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOps.td
M mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
M mlir/test/Dialect/Linalg/affine.mlir
Log Message:
-----------
[MLIR] Update linalg.conv lowering to use affine load in the absence of padding
Update linalg to affine lowering for convop to use affine load for input
whenever there is no padding. It had always been using std.loads because
max in index functions (needed for non-zero padding if not materializing
zeros) couldn't be represented in the non-zero padding cases.
In the future, the non-zero padding case could also be made to use
affine - either by materializing or using affine.execute_region. The
latter approach will not impact the scf/std output obtained after
lowering out affine.
Differential Revision: https://reviews.llvm.org/D81191
More information about the All-commits
mailing list