[Mlir-commits] [mlir] [mlir][mesh] fix ProcessMultiIndexOp building (PR #77676)

Boian Petkantchin llvmlistbot at llvm.org
Wed Jan 10 11:51:55 PST 2024


https://github.com/sogartar created https://github.com/llvm/llvm-project/pull/77676

None

>From cebfd14b5938ea6203d55da3f4b734b324838ad0 Mon Sep 17 00:00:00 2001
From: Boian Petkantchin <boian.petkantchin at amd.com>
Date: Wed, 10 Jan 2024 10:53:22 -0800
Subject: [PATCH] [mlir][mesh] fix ProcessMultiIndexOp building

---
 mlir/lib/Dialect/Mesh/IR/MeshOps.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mlir/lib/Dialect/Mesh/IR/MeshOps.cpp b/mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
index 9b110c462915e7..957b380efd516b 100644
--- a/mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
+++ b/mlir/lib/Dialect/Mesh/IR/MeshOps.cpp
@@ -353,7 +353,7 @@ void ProcessMultiIndexOp::build(OpBuilder &odsBuilder, OperationState &odsState,
                                 ClusterOp mesh) {
   build(odsBuilder, odsState,
         SmallVector<Type>(mesh.getRank(), odsBuilder.getIndexType()),
-        mesh.getSymName(), MeshAxesAttr());
+        mesh.getSymName(), ArrayRef<MeshAxis>());
 }
 
 void ProcessMultiIndexOp::build(OpBuilder &odsBuilder, OperationState &odsState,



More information about the Mlir-commits mailing list