Skip to content

Commit 117422c

Browse files
[ComprehensiveBufferize] Fix a warning
This patch fixes: mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp:292:12: error: comparison of integers of different signs: 'int' and 'unsigned int' [-Werror,-Wsign-compare]
1 parent 7d1cd8e commit 117422c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Linalg/ComprehensiveBufferize/LinalgInterfaceImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ struct TiledLoopOpInterface
288288

289289
// Compute new inputs, outputs and results.
290290
SmallVector<Value> newInputs, newOutputs, newResults;
291-
for (int i = tiledLoopOp.getNumControlOperands();
291+
for (unsigned i = tiledLoopOp.getNumControlOperands();
292292
i < tiledLoopOp->getNumOperands(); ++i) {
293293
OpOperand &operand = tiledLoopOp->getOpOperand(i);
294294
Value rewrittenValue = operand.get();

0 commit comments

Comments
 (0)