[Mlir-commits] [mlir] [mlir][docs] Update documentation for `vector.multi_reduction`. NFC (PR #99668)

Angel Zhang llvmlistbot at llvm.org
Fri Jul 19 10:09:12 PDT 2024


https://github.com/angelz913 created https://github.com/llvm/llvm-project/pull/99668

None

>From 08ce06e0f626b5e9fb7b6d2f86c3dc73f060e738 Mon Sep 17 00:00:00 2001
From: Angel Zhang <angel.zhang at amd.com>
Date: Fri, 19 Jul 2024 17:07:03 +0000
Subject: [PATCH] [mlir][docs] Update documentation for vector.multi_reduction.
 NFC

---
 mlir/include/mlir/Dialect/Vector/IR/VectorOps.td | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
index 2019eb5a9fd7f..39ad03c801140 100644
--- a/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
+++ b/mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
@@ -300,9 +300,9 @@ def Vector_MultiDimReductionOp :
 
     ```mlir
     %1 = vector.multi_reduction <add>, %0, %acc0 [1, 3] :
-      vector<4x8x16x32xf32> into vector<4x16xf32>
+      vector<4x8x16x32xf32> to vector<4x16xf32>
     %2 = vector.multi_reduction <add>, %1, %acc1 [0, 1] :
-      vector<4x16xf32> into f32
+      vector<4x16xf32> to f32
     ```
   }];
   let builders = [



More information about the Mlir-commits mailing list