Skip to content

Commit 8ca90b2

Browse files
committed
[mlir] Remove unused variable 'byteBitwidth' in VectorEmulateNarrowType.cpp (NFC)
llvm-project/mlir/lib/Dialect/Vector/Transforms/VectorEmulateNarrowType.cpp:763:12: error: unused variable 'byteBitwidth' [-Werror,-Wunused-variable] unsigned byteBitwidth = 8; ^ 1 error generated.
1 parent 0fc791c commit 8ca90b2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,6 @@ static LogicalResult alignedConversionPrecondition(PatternRewriter &rewriter,
760760
return rewriter.notifyMatchFailure(op, "Not a supported aligned case");
761761
unsigned srcElemBitwidth = srcType.getElementTypeBitWidth();
762762
unsigned dstElemBitwidth = dstType.getElementTypeBitWidth();
763-
unsigned byteBitwidth = 8;
764763

765764
// Only {s}i4 -> (size_of({{s}i/f}) >= 8) are supported for now.
766765
if (srcElemBitwidth != 4 || dstElemBitwidth < 8 ||

0 commit comments

Comments
 (0)