[Mlir-commits] [mlir] [MLIR][mesh] Mesh fixes (PR #124724)
Frank Schlimbach
llvmlistbot at llvm.org
Tue Feb 11 03:42:24 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())
----------------
fschlimb wrote:
Does any `UnrankedTensorType` ever return true on `isIntOrIndexOrFLoat()` ? This is trying to fail for everything which is not a `RankedTensor` and not a scalar.
https://github.com/llvm/llvm-project/pull/124724
More information about the Mlir-commits
mailing list