Skip to content

Commit 63df6fa

Browse files
committed
corrected the description example !llvm.ptr to memref<*xbf16>
1 parent 0ae2dc5 commit 63df6fa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/include/mlir/Dialect/X86Vector/X86Vector.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def CvtPackedEvenIndexedBF16ToF32Op : AVX_Op<"cvt.packed.even.indexed.bf16_to_f3
425425

426426
Example:
427427
```mlir
428-
%dst = x86vector.avx.cvt.packed.even.indexed.bf16_to_f32 %a : !llvm.ptr -> vector<8xf32>
428+
%dst = x86vector.avx.cvt.packed.even.indexed.bf16_to_f32 %a : memref<16xbf16> -> vector<8xf32>
429429
```
430430
}];
431431
let arguments = (ins AnyMemRef:$a);
@@ -461,7 +461,7 @@ def CvtPackedOddIndexedBF16ToF32Op : AVX_Op<"cvt.packed.odd.indexed.bf16_to_f32"
461461

462462
Example:
463463
```mlir
464-
%dst = x86vector.avx.cvt.packed.odd.indexed.bf16_to_f32 %a : !llvm.ptr -> vector<8xf32>
464+
%dst = x86vector.avx.cvt.packed.odd.indexed.bf16_to_f32 %a : memref<16xbf16> -> vector<8xf32>
465465
```
466466
}];
467467
let arguments = (ins AnyMemRef:$a);
@@ -502,7 +502,7 @@ def BcstBF16ToPackedF32Op : AVX_Op<"bcst.bf16_to_f32.packed", [MemoryEffects<[Me
502502

503503
Example:
504504
```mlir
505-
%dst = x86vector.avx.bcst.bf16_to_f32.packed %a : !llvm.ptr -> vector<8xf32>
505+
%dst = x86vector.avx.bcst.bf16_to_f32.packed %a : memref<1xbf16> -> vector<8xf32>
506506
```
507507
}];
508508
let arguments = (ins AnyMemRef:$a);

0 commit comments

Comments
 (0)