Apply clang-tidy fixes for readability-simplify-boolean-expr in TosaToLinalg.cpp (NFC)

This commit is contained in:
Mehdi Amini 2022-06-12 17:09:09 +00:00
parent cf3f477d30
commit 2d70faa299
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ static bool createReassociationMapsForCollapse(
// If both iterators didn't reach the end, we have leftover dimentions which
// implies that we have a mismatch in shape.
return !(currSrcDim != srcShape.size() || currDstDim != dstShape.size());
return currSrcDim == srcShape.size() && currDstDim == dstShape.size();
}
namespace {