[Mlir-commits] [mlir] 60e41d2 - [MLIR] Apply clang-tidy fixes for bugprone-argument-comment in VectorToGPU.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sun Sep 28 04:30:23 PDT 2025
Author: Mehdi Amini
Date: 2025-09-28T04:29:19-07:00
New Revision: 60e41d241c3a4ba63e777986688ec75cc0612d0f
URL: https://github.com/llvm/llvm-project/commit/60e41d241c3a4ba63e777986688ec75cc0612d0f
DIFF: https://github.com/llvm/llvm-project/commit/60e41d241c3a4ba63e777986688ec75cc0612d0f.diff
LOG: [MLIR] Apply clang-tidy fixes for bugprone-argument-comment in VectorToGPU.cpp (NFC)
Added:
Modified:
mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
index 79cb49a4f7dbc..d6a262275be3d 100644
--- a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
+++ b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
@@ -741,7 +741,7 @@ creatLdMatrixCompatibleLoads(RewriterBase &rewriter, vector::TransferReadOp op,
}
// Adjust the load offset.
- auto laneId = gpu::LaneIdOp::create(rewriter, loc, /*upperBound=*/nullptr);
+ auto laneId = gpu::LaneIdOp::create(rewriter, loc, /*upper_bound=*/nullptr);
FailureOr<AffineMap> offsets =
nvgpu::getLaneIdToLdMatrixMatrixCoord(rewriter, loc, *params);
if (failed(offsets)) {
@@ -781,7 +781,7 @@ createNonLdMatrixLoads(RewriterBase &rewriter, vector::TransferReadOp op,
"conversion to distributed non-ldmatrix compatible load");
}
- Value laneId = gpu::LaneIdOp::create(rewriter, loc, /*upperBound=*/nullptr);
+ Value laneId = gpu::LaneIdOp::create(rewriter, loc, /*upper_bound=*/nullptr);
// This is the individual element type.
Type loadedElType = regInfo->registerLLVMType;
@@ -915,7 +915,7 @@ convertTransferWriteToStores(RewriterBase &rewriter, vector::TransferWriteOp op,
return rewriter.notifyMatchFailure(op, "not mma sync reg info");
VectorType vectorType = getMmaSyncVectorOperandType(*regInfo);
- Value laneId = gpu::LaneIdOp::create(rewriter, loc, /*upperBound=*/nullptr);
+ Value laneId = gpu::LaneIdOp::create(rewriter, loc, /*upper_bound=*/nullptr);
for (unsigned i = 0; i < vectorType.getShape()[0]; i++) {
Value logicalValueId = arith::ConstantOp::create(
More information about the Mlir-commits
mailing list