forked from OSchip/llvm-project
Apply clang-tidy fixes for readability-simplify-boolean-expr in TosaToLinalg.cpp (NFC)
This commit is contained in:
parent
cf3f477d30
commit
2d70faa299
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue