diff options
author | Alex Zinenko <zinenko@google.com> | 2020-01-29 11:33:57 +0100 |
---|---|---|
committer | Alex Zinenko <zinenko@google.com> | 2020-01-31 19:43:47 +0100 |
commit | 9dfcddfaae50a3138173311a15e7ab19d36c1860 (patch) | |
tree | 2056c068dec31a64f055096fcb1d11a61b4e2a1f /llvm/lib/IR/Module.cpp | |
parent | d379253ca19b274681b075421612c7430a98c637 (diff) | |
download | llvm-9dfcddfaae50a3138173311a15e7ab19d36c1860.zip llvm-9dfcddfaae50a3138173311a15e7ab19d36c1860.tar.gz llvm-9dfcddfaae50a3138173311a15e7ab19d36c1860.tar.bz2 |
[mlir] Linalg tiling: generate code avoding out-of-bounds accesses
Summary:
After the `subview` operation was migrated from Linalg to Standard, it changed
semantics and does not guarantee the absence of out-of-bounds accesses through
the created view anymore. Compute the size of the subview to make sure it
always fits within the view (subviews in last iterations of the loops may be
smaller than those in other iterations).
Differential Revision: https://reviews.llvm.org/D73614
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions