diff options
author | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-01-27 08:06:40 +0000 |
---|---|---|
committer | Nicolas Vasilache <nicolas.vasilache@gmail.com> | 2021-01-27 09:02:35 +0000 |
commit | 5133673df421168bbde88051109a6942ffd80d95 (patch) | |
tree | ff5de27372f212b004b2c7f8661d81cdcdd25541 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | f96767368f5d36ebed0f85e80c7eacd972a1bd19 (diff) | |
download | llvm-5133673df421168bbde88051109a6942ffd80d95.zip llvm-5133673df421168bbde88051109a6942ffd80d95.tar.gz llvm-5133673df421168bbde88051109a6942ffd80d95.tar.bz2 |
[mlir] Extend semantic of OffsetSizeAndStrideOpInterface.
OffsetSizeAndStrideOpInterface now have the ability to specify only a leading subset of
offset, sizes, strides operands/attributes.
The size of that leading subset must be limited by the corresponding entry in `getArrayAttrMaxRanks` to avoid overflows.
Missing trailing dimensions are assumed to span the whole range (i.e. [0 .. dim)).
This brings more natural semantics to slice-like op on top of subview and is a simplifies to removing all uses of SliceOp in dependent projects.
Differential revision: https://reviews.llvm.org/D95441
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions