diff options
author | Hanhan Wang <hanchung@google.com> | 2020-03-13 14:33:27 -0700 |
---|---|---|
committer | Hanhan Wang <hanchung@google.com> | 2020-03-13 14:35:58 -0700 |
commit | 92f7e8133ae98e1f300bad164c4099b2e609bae7 (patch) | |
tree | 91e628aa31dbcc1378e6c7881041d76941716067 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | b2bb8b6cd6402d5495c0b20b27697df34de6c1c8 (diff) | |
download | llvm-92f7e8133ae98e1f300bad164c4099b2e609bae7.zip llvm-92f7e8133ae98e1f300bad164c4099b2e609bae7.tar.gz llvm-92f7e8133ae98e1f300bad164c4099b2e609bae7.tar.bz2 |
[mlir][Linalg] Implement padding for linalg.conv and lowering to loops.
Summary:
To enable this, two changes are needed:
1) Add an optional attribute `padding` to linalg.conv.
2) Compute if the indices accessing is out of bound in the loops. If so, use the
padding value `0`. Otherwise, use the value derived from load.
In the patch, the padding only works for lowering without other transformations,
e.g., tiling, fusion, etc.
Differential Revision: https://reviews.llvm.org/D75722
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions