diff --git a/stablehlo/dialect/TypeInference.cpp b/stablehlo/dialect/TypeInference.cpp index a0ccd5e4d3d..12ced6217f1 100644 --- a/stablehlo/dialect/TypeInference.cpp +++ b/stablehlo/dialect/TypeInference.cpp @@ -4153,8 +4153,8 @@ LogicalResult verifyScatterOp(std::optional location, // P5. Check if the result type of window operation matches the source type. LogicalResult verifySelectAndScatterOp( std::optional location, Value operand, Value source, - Value initValue, std::optional> windowDimensionsOpt, - std::optional> windowStridesOpt, + Value initValue, std::optional> windowDimensionsOpt, + std::optional> windowStridesOpt, std::optional padding, Region& select, Region& scatter) { auto operandType = operand.getType().cast(); diff --git a/stablehlo/dialect/TypeInference.h b/stablehlo/dialect/TypeInference.h index 8a6b2cc3b11..c0570f31dbf 100644 --- a/stablehlo/dialect/TypeInference.h +++ b/stablehlo/dialect/TypeInference.h @@ -501,8 +501,8 @@ LogicalResult verifyScatterOp(std::optional location, LogicalResult verifySelectAndScatterOp( std::optional location, Value operand, Value source, - Value initValue, std::optional> windowDimensions, - std::optional> windowStrides, + Value initValue, std::optional> windowDimensions, + std::optional> windowStrides, std::optional padding, Region& select, Region& scatter);