[Mlir-commits] [mlir] 9e2ace1 - Apply clang-tidy fixes for performance-move-const-arg in IntegerRelation.cpp (NFC)

Mehdi Amini llvmlistbot at llvm.org
Thu Oct 6 17:48:42 PDT 2022


Author: Mehdi Amini
Date: 2022-10-07T00:48:16Z
New Revision: 9e2ace1c52072237b557e109edbd059e3cd2f5a3

URL: https://github.com/llvm/llvm-project/commit/9e2ace1c52072237b557e109edbd059e3cd2f5a3
DIFF: https://github.com/llvm/llvm-project/commit/9e2ace1c52072237b557e109edbd059e3cd2f5a3.diff

LOG: Apply clang-tidy fixes for performance-move-const-arg in IntegerRelation.cpp (NFC)

Added: 
    

Modified: 
    mlir/lib/Analysis/Presburger/IntegerRelation.cpp

Removed: 
    


################################################################################
diff  --git a/mlir/lib/Analysis/Presburger/IntegerRelation.cpp b/mlir/lib/Analysis/Presburger/IntegerRelation.cpp
index 34c64a3911fef..237061f7683bd 100644
--- a/mlir/lib/Analysis/Presburger/IntegerRelation.cpp
+++ b/mlir/lib/Analysis/Presburger/IntegerRelation.cpp
@@ -787,7 +787,7 @@ Optional<SmallVector<MPInt, 8>> IntegerRelation::findIntegerSample() const {
   // to column echelon form is unimodular as well, so this is a suitable
   // transform to use in step 1 of the algorithm.
   std::pair<unsigned, LinearTransform> result =
-      LinearTransform::makeTransformToColumnEchelon(std::move(m));
+      LinearTransform::makeTransformToColumnEchelon(m);
   const LinearTransform &transform = result.second;
   // 1) Apply T to S to obtain S*T.
   IntegerRelation transformedSet = transform.applyTo(*this);


        


More information about the Mlir-commits mailing list