[Mlir-commits] [mlir] 7370405 - [MLIR] Apply clang-tidy fixes for bugprone-argument-comment in ConvertToDestinationStyle.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Tue Sep 2 06:19:57 PDT 2025


Author: Mehdi Amini
Date: 2025-09-02T06:19:22-07:00
New Revision: 73704052b479cd584fe7ff9d84dd299da5d02be5

URL: https://github.com/llvm/llvm-project/commit/73704052b479cd584fe7ff9d84dd299da5d02be5
DIFF: https://github.com/llvm/llvm-project/commit/73704052b479cd584fe7ff9d84dd299da5d02be5.diff

LOG: [MLIR] Apply clang-tidy fixes for bugprone-argument-comment in ConvertToDestinationStyle.cpp (NFC)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp b/mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
index 76ddee4f0e9cf..2ff7f4617512b 100644
--- a/mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
+++ b/mlir/lib/Dialect/Linalg/Transforms/ConvertToDestinationStyle.cpp
@@ -75,7 +75,7 @@ static void createMemcpy(OpBuilder &b, Location loc, Value tensorSource,
     // layout for best compatibility.
     Value toBuffer = bufferization::ToBufferOp::create(
         b, loc, bufferization::getMemRefTypeWithFullyDynamicLayout(tensorType),
-        tensorSource, /*readOnly=*/true);
+        tensorSource, /*read_only=*/true);
     memref::CopyOp::create(b, loc, toBuffer, memrefDest);
   } break;
   case linalg::BufferizeToAllocationOptions::MemcpyOp::LinalgCopy: {
@@ -84,7 +84,7 @@ static void createMemcpy(OpBuilder &b, Location loc, Value tensorSource,
     // layout for best compatibility.
     Value toBuffer = bufferization::ToBufferOp::create(
         b, loc, bufferization::getMemRefTypeWithFullyDynamicLayout(tensorType),
-        tensorSource, /*readOnly=*/true);
+        tensorSource, /*read_only=*/true);
     linalg::CopyOp::create(b, loc, toBuffer, memrefDest);
   } break;
   };


        


More information about the Mlir-commits mailing list