Skip to content

Commit eabfed8

Browse files
committed
[MLIR] Apply clang-tidy fixes for modernize-use-bool-literals in VectorEmulateNarrowType.cpp (NFC)
1 parent 616e523 commit eabfed8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ struct ConvertVectorStore final : OpConversionPattern<vector::StoreOp> {
796796
currentSourceIndex, remainingElements, 0);
797797

798798
// Generate back mask.
799-
auto maskValues = SmallVector<bool>(emulatedPerContainerElem, 0);
799+
auto maskValues = SmallVector<bool>(emulatedPerContainerElem, false);
800800
std::fill_n(maskValues.begin(), remainingElements, 1);
801801
auto backMask = arith::ConstantOp::create(
802802
rewriter, loc,

0 commit comments

Comments
 (0)