Skip to content

Commit

Permalink
Fix stack out of scope
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry Wu committed Aug 11, 2023
1 parent f460d04 commit 48c9570
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ struct ConvertBatchMmt4DtoMmt4DPattern
if (outType.getShape()[0] != 1) {
return failure();
}
auto reducedOutType = RankedTensorType::Builder(outType).dropDim(0);
RankedTensorType reducedOutType =
RankedTensorType::Builder(outType).dropDim(0);
Value reducedOut;
Value initTensor;
// If the init operand is a linalg.fill op, create a new linalg.fill op with
Expand Down

0 comments on commit 48c9570

Please sign in to comment.