[MLIR] Apply clang-tidy fixes for readability-simplify-boolean-expr in Utils.cpp (NFC)

This commit is contained in:
Mehdi Amini 2025-08-21 06:27:39 -07:00
parent fd4dec9b1e
commit 4196411132

View File

@ -49,10 +49,7 @@ bool isValidSMETileVectorType(VectorType vType) {
return false;
unsigned minNumElts = getSMETileSliceMinNumElts(elemType);
if (vType.getShape() != ArrayRef<int64_t>({minNumElts, minNumElts}))
return false;
return true;
return vType.getShape() == ArrayRef<int64_t>({minNumElts, minNumElts});
}
std::optional<ArmSMETileType> getSMETileType(VectorType type) {