Skip to content

Commit

Permalink
Revert "[mlir][Presburger] Fix warning Wreturn-std-move (NFC)"
Browse files Browse the repository at this point in the history
This reverts commit a4070a5.
It introduced another warning instead.
  • Loading branch information
akuegel committed Jun 29, 2022
1 parent b646f09 commit 0a6e29f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mlir/lib/Analysis/Presburger/PresburgerRelation.cpp
Expand Up @@ -13,8 +13,6 @@
#include "llvm/ADT/ScopeExit.h"
#include "llvm/ADT/SmallBitVector.h"

#include <utility>

using namespace mlir;
using namespace presburger;

Expand Down Expand Up @@ -146,7 +144,7 @@ PresburgerRelation PresburgerRelation::computeReprWithOnlyDivLocals() const {
PresburgerRelation result(getSpace());
for (const IntegerRelation &disjunct : disjuncts)
result.unionInPlace(disjunct.computeReprWithOnlyDivLocals());
return std::move(result);
return result;
}

/// Return the set difference b \ s.
Expand Down

0 comments on commit 0a6e29f

Please sign in to comment.