[Mlir-commits] [mlir] 91dd13b - [MLIR] Apply clang-tidy fixes for performance-move-const-arg in SPIRVTypes.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Sat Aug 30 12:27:47 PDT 2025
Author: Mehdi Amini
Date: 2025-08-30T12:23:10-07:00
New Revision: 91dd13b3497783c82e226c1d6f98965dbc2aba65
URL: https://github.com/llvm/llvm-project/commit/91dd13b3497783c82e226c1d6f98965dbc2aba65
DIFF: https://github.com/llvm/llvm-project/commit/91dd13b3497783c82e226c1d6f98965dbc2aba65.diff
LOG: [MLIR] Apply clang-tidy fixes for performance-move-const-arg in SPIRVTypes.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp b/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
index ddb342621f371..369b95374189d 100644
--- a/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
+++ b/mlir/lib/Dialect/SPIRV/IR/SPIRVTypes.cpp
@@ -1322,7 +1322,7 @@ struct spirv::detail::TensorArmTypeStorage final : TypeStorage {
}
TensorArmTypeStorage(ArrayRef<int64_t> shape, Type elementType)
- : shape(std::move(shape)), elementType(std::move(elementType)) {}
+ : shape(shape), elementType(elementType) {}
ArrayRef<int64_t> shape;
Type elementType;
More information about the Mlir-commits
mailing list