Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
newling committed Sep 25, 2024
1 parent 62d0a99 commit 764d8e6
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 177 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ LogicalResult updateFromExpandShape(memref::ExpandShapeOp expandShapeOp,
// Offsets. For now we don't do any arithmetic to split the offset across
// dimensions, in theory we need to split the offset amongst the reassociation
// indices, but for now I'm just putting the offset on the inner most
// dimension.
// dimension.
SmallVector<OpFoldResult> newOffsets(resultShape.size());
for (int i = 0; i < resultShape.size(); i++) {
newOffsets[i] = getAsIndexOpFoldResult(ctx, 0);
Expand Down
Loading

0 comments on commit 764d8e6

Please sign in to comment.