Skip to content

Commit 8189db9

Browse files
committed
Apply clang-tidy fixes for performance-unnecessary-value-param in BufferizableOpInterfaceImpl.cpp (NFC)
1 parent 5370425 commit 8189db9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SCF/Transforms/BufferizableOpInterfaceImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ DenseSet<int64_t> getEquivalentBuffers(Block::BlockArgListType bbArgs,
463463
/// Helper function for loop bufferization. Return the bufferized values of the
464464
/// given OpOperands. If an operand is not a tensor, return the original value.
465465
static FailureOr<SmallVector<Value>>
466-
getBuffers(RewriterBase &rewriter, MutableOperandRange operands,
466+
getBuffers(RewriterBase &rewriter, const MutableOperandRange &operands,
467467
const BufferizationOptions &options) {
468468
SmallVector<Value> result;
469469
for (OpOperand &opOperand : operands) {

0 commit comments

Comments
 (0)