HomePhabricator

[mlir] Linalg tiling: generate code avoding out-of-bounds accesses

Authored by ftynse on Wed, Jan 29, 2:33 AM.

Description

[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

Details

Committed
ftynseFri, Jan 31, 10:43 AM
Differential Revision
D73614: [mlir] Linalg tiling: generate code avoding out-of-bounds accesses
Parents
rGd379253ca19b: Orc: Remove an unnecessary explicit scope
Branches
Unknown
Tags
Unknown