[Mlir-commits] [mlir] 70ebc78 - Apply clang-tidy fixes for performance-unnecessary-value-param in TransformOps.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Tue Feb 13 20:57:43 PST 2024
Author: Mehdi Amini
Date: 2024-02-13T20:56:05-08:00
New Revision: 70ebc78efb5df33395603329f4622b51f2c259ce
URL: https://github.com/llvm/llvm-project/commit/70ebc78efb5df33395603329f4622b51f2c259ce
DIFF: https://github.com/llvm/llvm-project/commit/70ebc78efb5df33395603329f4622b51f2c259ce.diff
LOG: Apply clang-tidy fixes for performance-unnecessary-value-param in TransformOps.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Transform/IR/TransformOps.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Transform/IR/TransformOps.cpp b/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
index 7afa856fb12ce..efb724006674f 100644
--- a/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
+++ b/mlir/lib/Dialect/Transform/IR/TransformOps.cpp
@@ -1754,7 +1754,7 @@ DiagnosedSilenceableFailure
transform::MatchParamCmpIOp::apply(transform::TransformRewriter &rewriter,
transform::TransformResults &results,
transform::TransformState &state) {
- auto signedAPIntAsString = [&](APInt value) {
+ auto signedAPIntAsString = [&](const APInt &value) {
std::string str;
llvm::raw_string_ostream os(str);
value.print(os, /*isSigned=*/true);
More information about the Mlir-commits
mailing list