[Mlir-commits] [mlir] b8a3f0f - Apply clang-tidy fixes for llvm-qualified-auto in VectorToGPU.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Thu Dec 7 21:40:17 PST 2023
Author: Mehdi Amini
Date: 2023-12-07T21:39:25-08:00
New Revision: b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5
URL: https://github.com/llvm/llvm-project/commit/b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5
DIFF: https://github.com/llvm/llvm-project/commit/b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5.diff
LOG: Apply clang-tidy fixes for llvm-qualified-auto 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 f151011ee48af..332672f36743e 100644
--- a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
+++ b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
@@ -557,7 +557,7 @@ convertTransferReadOp(RewriterBase &rewriter, vector::TransferReadOp op,
auto elType = op.getVectorType().getElementType();
const char *fragType = inferFragType(op);
if (op->hasOneUse()) {
- auto user = *op->user_begin();
+ auto *user = *op->user_begin();
// Infer the signedness of the mma type from the integer extend.
bool isSignedExtend = isa<arith::ExtSIOp>(user);
if (isSignedExtend || isa<arith::ExtUIOp>(user)) {
More information about the Mlir-commits
mailing list