We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b65516 commit 5e4df35Copy full SHA for 5e4df35
1 file changed
mlir/lib/Conversion/VectorToArmSME/VectorToArmSME.cpp
@@ -332,6 +332,8 @@ struct SplatOpToArmSMELowering : public OpRewritePattern<vector::SplatOp> {
332
auto tileElementType = tileType.getElementType();
333
334
assert(srcType.isIntOrFloat() && "Invalid source type for vector.splat");
335
+ // Avoid unused-variable warning when building without assertions.
336
+ (void)srcType;
337
338
// First, broadcast the scalar to a 1-d vector.
339
VectorType tileSliceType = VectorType::Builder(tileType).dropDim(0);
0 commit comments