aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorNicolas Vasilache <nicolas.vasilache@gmail.com>2021-01-27 08:06:40 +0000
committerNicolas Vasilache <nicolas.vasilache@gmail.com>2021-01-27 09:02:35 +0000
commit5133673df421168bbde88051109a6942ffd80d95 (patch)
treeff5de27372f212b004b2c7f8661d81cdcdd25541 /clang/lib/Frontend/CompilerInvocation.cpp
parentf96767368f5d36ebed0f85e80c7eacd972a1bd19 (diff)
downloadllvm-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