[MLIR] Apply clang-tidy fixes for readability-simplify-boolean-expr in Utils.cpp (NFC)
This commit is contained in:
parent
fd4dec9b1e
commit
4196411132
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user