mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 08:30:34 +08:00
[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:
@@ -1979,7 +1979,7 @@ def RankOp : Std_Op<"rank", [NoSideEffect]> {
|
||||
Example:
|
||||
|
||||
```mlir
|
||||
%1 = rank %0 : index
|
||||
%1 = rank %0 : tensor<*xf32>
|
||||
```
|
||||
}];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user