[Mlir-commits] [mlir] eabfed8 - [MLIR] Apply clang-tidy fixes for modernize-use-bool-literals in VectorEmulateNarrowType.cpp (NFC)
Mehdi Amini
llvmlistbot at llvm.org
Fri Oct 3 11:05:25 PDT 2025
Author: Mehdi Amini
Date: 2025-10-03T11:04:58-07:00
New Revision: eabfed8690a1e87056140c1b311f82457e27feb9
URL: https://github.com/llvm/llvm-project/commit/eabfed8690a1e87056140c1b311f82457e27feb9
DIFF: https://github.com/llvm/llvm-project/commit/eabfed8690a1e87056140c1b311f82457e27feb9.diff
LOG: [MLIR] Apply clang-tidy fixes for modernize-use-bool-literals in VectorEmulateNarrowType.cpp (NFC)
Added:
Modified:
mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
Removed:
################################################################################
diff --git a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
index 3a6684f4edfb7..255f2bf5a8161 100644
--- a/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
+++ b/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp
@@ -796,7 +796,7 @@ struct ConvertVectorStore final : OpConversionPattern<vector::StoreOp> {
currentSourceIndex, remainingElements, 0);
// Generate back mask.
- auto maskValues = SmallVector<bool>(emulatedPerContainerElem, 0);
+ auto maskValues = SmallVector<bool>(emulatedPerContainerElem, false);
std::fill_n(maskValues.begin(), remainingElements, 1);
auto backMask = arith::ConstantOp::create(
rewriter, loc,
More information about the Mlir-commits
mailing list