Skip to content

Commit 75e185d

Browse files
committed
Apply clang-tidy fixes for readability-simplify-boolean-expr in LegalizeForLLVMExport.cpp (NFC)
1 parent e5e0895 commit 75e185d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

mlir/lib/Conversion/ArmSMEToLLVM/ArmSMEToLLVM.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -731,10 +731,8 @@ struct OuterProductOpConversion
731731

732732
unsigned minNumElts = arm_sme::MinStreamingVectorLengthInBits /
733733
vectorType.getElementTypeBitWidth();
734-
if (vectorType.getShape() != ArrayRef<int64_t>({minNumElts, minNumElts}))
735-
return false;
736-
737-
return true;
734+
return vectorType.getShape() ==
735+
ArrayRef<int64_t>({minNumElts, minNumElts});
738736
};
739737

740738
// TODO: Support CombiningKind::Sub for outer products.

0 commit comments

Comments
 (0)