Add missing early return.

Found with more strict build flags.
20230821_fix_missing_return
Stella Laurenzo 2023-08-21 16:22:04 -07:00
parent 3dd29f9d5d
commit 8efb2c501f
1 changed files with 1 additions and 1 deletions

View File

@ -4808,7 +4808,7 @@ public:
int64_t inputRank = inputSizes.size();
auto outputType = op.getType().cast<BaseTensorType>();
if (!outputType.hasSizes()) {
rewriter.notifyMatchFailure(
return rewriter.notifyMatchFailure(
op, "only output with shape information is supported");
}
auto outputRank = outputType.getSizes().size();