Skip to content

Commit 9bb9206

Browse files
committed
[MLIR] Apply clang-tidy fixes for readability-container-size-empty in VectorTransforms.cpp (NFC)
1 parent b161e8d commit 9bb9206

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ struct BubbleDownVectorBitCastForExtract
600600

601601
// Get the first element of the mixed position as integer.
602602
auto mixedPos = extractOp.getMixedPosition();
603-
if (mixedPos.size() > 0 && !isa<Attribute>(mixedPos[0]))
603+
if (!mixedPos.empty() && !isa<Attribute>(mixedPos[0]))
604604
return failure();
605605
uint64_t index = cast<IntegerAttr>(cast<Attribute>(mixedPos[0])).getInt();
606606

0 commit comments

Comments
 (0)