[Mlir-commits] [mlir] 8344a53 - [MLIR] Apply clang-tidy fixes for performance-move-const-arg in IRCore.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Tue Aug 26 12:04:40 PDT 2025
Author: Mehdi Amini
Date: 2025-08-26T12:03:01-07:00
New Revision: 8344a53c0decd9168a659b837919615241b43a2e
URL: https://github.com/llvm/llvm-project/commit/8344a53c0decd9168a659b837919615241b43a2e
DIFF: https://github.com/llvm/llvm-project/commit/8344a53c0decd9168a659b837919615241b43a2e.diff
LOG: [MLIR] Apply clang-tidy fixes for performance-move-const-arg in IRCore.cpp (NFC)
Added:
Modified:
mlir/lib/Bindings/Python/IRCore.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Bindings/Python/IRCore.cpp b/mlir/lib/Bindings/Python/IRCore.cpp
index 1c43c7b0974df..0ac397c252f22 100644
--- a/mlir/lib/Bindings/Python/IRCore.cpp
+++ b/mlir/lib/Bindings/Python/IRCore.cpp
@@ -2105,7 +2105,7 @@ nb::object PyOpView::buildGeneric(
// Delegate to create.
return PyOperation::create(name,
/*results=*/std::move(resultTypes),
- /*operands=*/std::move(operands),
+ /*operands=*/operands,
/*attributes=*/std::move(attributes),
/*successors=*/std::move(successors),
/*regions=*/*regions, location, maybeIp,
More information about the Mlir-commits
mailing list