[mlir] Fix the example for std.rank

Summary:
The assembly format for std.rank expects the operand type and not the
result type after the colon.

Differential Revision: https://reviews.llvm.org/D79857
This commit is contained in:
Stephan Herhut
2020-05-13 15:28:24 +02:00
parent 91063cf85a
commit 9ffaba86e5

View File

@@ -1979,7 +1979,7 @@ def RankOp : Std_Op<"rank", [NoSideEffect]> {
Example:
```mlir
%1 = rank %0 : index
%1 = rank %0 : tensor<*xf32>
```
}];