Skip to content

Commit 18bbdfc

Browse files
author
git apple-llvm automerger
committed
Merge commit '2d682ec4e6e6' from apple/main into swift/next
2 parents 5771d13 + 2d682ec commit 18bbdfc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

mlir/include/mlir/Dialect/Linalg/IR/LinalgStructuredOpsInterface.td

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,9 +1083,11 @@ def LinalgStructuredInterface : OpInterface<"LinalgOp"> {
10831083
Operation::operand_range res{
10841084
getOperation()->getOperands().begin() + getNumShapedOperands(),
10851085
getOperation()->getOperands().end()};
1086-
for (Type t : TypeRange{res})
1086+
for (Type t : TypeRange{res}) {
1087+
(void)t;
10871088
assert((t.isSignlessIntOrIndexOrFloat() || t.template isa<VectorType>())
10881089
&&"expected scalar or vector type");
1090+
}
10891091
return res;
10901092
}
10911093

0 commit comments

Comments
 (0)