Skip to content

Commit 43bd9a0

Browse files
authored
Update TosaOps.cpp
1 parent 9f9ddd4 commit 43bd9a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Tosa/IR/TosaOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ LogicalResult tosa::PadOp::inferReturnTypeComponents(
839839
SmallVector<int64_t> paddingValues;
840840
// If the paddings value is not a constant, all dimensions must be dynamic.
841841
if (!tosa::ExtractConstShapeValue(adaptor.getPadding().getDefiningOp(),
842-
paddingValues)) {
842+
paddingValues)) {
843843
outputShape.resize(inputShape.getRank(), ShapedType::kDynamic);
844844
inferredReturnShapes.push_back(ShapedTypeComponents(outputShape));
845845
return success();

0 commit comments

Comments
 (0)