Skip to content

Commit 7370405

Browse files
committed
[MLIR] Apply clang-tidy fixes for bugprone-argument-comment in ConvertToDestinationStyle.cpp (NFC)
1 parent 9a1e478 commit 7370405

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ static void createMemcpy(OpBuilder &b, Location loc, Value tensorSource,
7575
// layout for best compatibility.
7676
Value toBuffer = bufferization::ToBufferOp::create(
7777
b, loc, bufferization::getMemRefTypeWithFullyDynamicLayout(tensorType),
78-
tensorSource, /*readOnly=*/true);
78+
tensorSource, /*read_only=*/true);
7979
memref::CopyOp::create(b, loc, toBuffer, memrefDest);
8080
} break;
8181
case linalg::BufferizeToAllocationOptions::MemcpyOp::LinalgCopy: {
@@ -84,7 +84,7 @@ static void createMemcpy(OpBuilder &b, Location loc, Value tensorSource,
8484
// layout for best compatibility.
8585
Value toBuffer = bufferization::ToBufferOp::create(
8686
b, loc, bufferization::getMemRefTypeWithFullyDynamicLayout(tensorType),
87-
tensorSource, /*readOnly=*/true);
87+
tensorSource, /*read_only=*/true);
8888
linalg::CopyOp::create(b, loc, toBuffer, memrefDest);
8989
} break;
9090
};

0 commit comments

Comments
 (0)