[Mlir-commits] [mlir] [mlir][mesh] Add lowering of process multi-index op (PR #77490)

Chengji Yao llvmlistbot at llvm.org
Tue Jan 9 09:07:38 PST 2024


================
@@ -156,26 +156,26 @@ func.func @cluster_shape_empty_axes() -> (index, index, index) {
   return %0#0, %0#1, %0#2 : index, index, index
 }
 
-// CHECK-LABEL: func @process_index
-func.func @process_index() -> (index, index) {
-  // CHECK: %[[RES:.*]]:2 = mesh.process_index on @mesh0 axes = [0, 1] : index, index
-  %0:2 = mesh.process_index on @mesh0 axes = [0, 1] : index, index
+// CHECK-LABEL: func @process_multi_index
----------------
yaochengji wrote:

ops/invalid check of mesh.process_linear_index seems missing?

https://github.com/llvm/llvm-project/pull/77490


More information about the Mlir-commits mailing list