mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 02:38:07 +08:00
getMixedOffsets() calls getMixedValues() with `static_offsets` and `offsets`. It is assumed that the number of dynamic offsets in `static_offsets` equals the rank of `offsets`. Otherwise, we fail on assert when trying to access an array out of its bounds. The same applies to getMixedStrides() and getMixedOffsets(). A verification of this assumption is added to verifyOffsetSizeAndStrideOp() and a clear assert is added in getMixedValues().
Multi-Level Intermediate Representation
See https://mlir.llvm.org/ for more information.