aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorMaheshRavishankar <ravishankarm@google.com>2021-12-29 10:48:02 -0800
committerMaheshRavishankar <ravishankarm@google.com>2021-12-29 11:18:29 -0800
commit7df7586a0b09ecebd2fd07b03efb30d30207e09d (patch)
tree638711775b5bac4ccf2ef94002629d86d84fed50 /llvm/lib/Bitcode
parentba07f300c6d67a2c6dde8eef216b7a77ac4600bb (diff)
downloadllvm-7df7586a0b09ecebd2fd07b03efb30d30207e09d.zip
llvm-7df7586a0b09ecebd2fd07b03efb30d30207e09d.tar.gz
llvm-7df7586a0b09ecebd2fd07b03efb30d30207e09d.tar.bz2
[mlir][MemRef] Deprecate unspecified trailing offset, size, and strides semantics of `OffsetSizeAndStrideOpInterface`.
The semantics of the ops that implement the `OffsetSizeAndStrideOpInterface` is that if the number of offsets, sizes or strides are less than the rank of the source, then some default values are filled along the trailing dimensions (0 for offset, source dimension of sizes, and 1 for strides). This is confusing, especially with rank-reducing semantics. Immediate issue here is that the methods of `OffsetSizeAndStridesOpInterface` assumes that the number of values is same as the source rank. This cause out-of-bounds errors. So simplifying the specification of `OffsetSizeAndStridesOpInterface` to make it invalid to specify number of offsets/sizes/strides not equal to the source rank. Differential Revision: https://reviews.llvm.org/D115677
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions