forked from OSchip/llvm-project
Add missing `>` to the description of std.view.
Closes tensorflow/mlir#266 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/mlir/pull/266 from denis0x0D:sandbox/miss_char a5f662e1bf103b5009da67d045ee2fcebf822ab0 PiperOrigin-RevId: 283340486
This commit is contained in:
parent
4982eaf87c
commit
da3b305e7f
|
@ -1206,7 +1206,7 @@ def ViewOp : Std_Op<"view", [NoSideEffect]> {
|
|||
|
||||
// ViewOp with dynamic offset and one dynamic size.
|
||||
%2 = view %0[%offset_1024][%size0]
|
||||
: memref<2048xi8> to memref<?x4xf32, (d0, d1)[s0] -> (d0 * 4 + d1 + s0)
|
||||
: memref<2048xi8> to memref<?x4xf32, (d0, d1)[s0] -> (d0 * 4 + d1 + s0)>
|
||||
|
||||
// ViewOp creating 3D shape where two of the dim sizes are dynamic.
|
||||
// *) The dynamic offset specified in the ViewOp is applied to the
|
||||
|
@ -1219,7 +1219,7 @@ def ViewOp : Std_Op<"view", [NoSideEffect]> {
|
|||
// shape and dynamic sizes.
|
||||
%3 = view %0[%offset_1024][%size0, %size1]
|
||||
: memref<2048xi8> to memref<?x?x4xf32,
|
||||
(d0, d1, d2)[s0, s1] -> (d0 * s1 + d1 * 4 + d2 + s0)
|
||||
(d0, d1, d2)[s0, s1] -> (d0 * s1 + d1 * 4 + d2 + s0)>
|
||||
}];
|
||||
|
||||
let arguments = (ins MemRefRankOf<[I8], [1]>:$source,
|
||||
|
|
Loading…
Reference in New Issue