aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMehdi Amini <joker.eph@gmail.com>2023-10-20 03:16:32 -0700
committerMehdi Amini <joker.eph@gmail.com>2023-12-07 21:39:25 -0800
commitb8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5 (patch)
treef8da20e9b9070cb1ad1aeaf3f4dd98618384f171
parent1cef577b907510e9752f02b1ff744f925662cb31 (diff)
downloadllvm-b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5.zip
llvm-b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5.tar.gz
llvm-b8a3f0fd3a2827282e12c31b2a2edc23e2c34ef5.tar.bz2
Apply clang-tidy fixes for llvm-qualified-auto in VectorToGPU.cpp (NFC)
-rw-r--r--mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp b/mlir/lib/Conversion/VectorToGPU/VectorToGPU.cpp
index f151011..332672f 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)) {