[Mlir-commits] [mlir] [MLIR][mesh] Mesh fixes (PR #124724)

Renato Golin llvmlistbot at llvm.org
Mon Feb 10 10:08:47 PST 2025


================
@@ -168,16 +168,16 @@ LogicalResult mesh::ShardingInterface::verifyShardingInterfaceImpl() {
 
   // check operands and results type
   for (Type type : op->getOperandTypes())
-    if (!llvm::isa<RankedTensorType>(type))
+    if (!llvm::isa<RankedTensorType>(type) && !type.isIntOrIndexOrFloat())
----------------
rengolin wrote:

So unranked types of non-int/float are ok?

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


More information about the Mlir-commits mailing list