[Mlir-commits] [mlir] mlir/Presburger: optimize to avoid creating copies (PR #97897)
Arjun P
llvmlistbot at llvm.org
Sun Jul 7 02:37:18 PDT 2024
================
@@ -1038,7 +1044,7 @@ PresburgerRelation PresburgerRelation::simplify() const {
}
bool PresburgerRelation::isFullDim() const {
- return llvm::any_of(getAllDisjuncts(), [&](IntegerRelation disjunct) {
+ return llvm::any_of(getAllDisjuncts(), [](IntegerRelation disjunct) {
----------------
Superty wrote:
can take disjunct by reference
https://github.com/llvm/llvm-project/pull/97897
More information about the Mlir-commits
mailing list