Skip to content

Commit 8ef6702

Browse files
committed
rebase
1 parent af36748 commit 8ef6702

File tree

4 files changed

+180
-72
lines changed

4 files changed

+180
-72
lines changed

Diff for: lib/gc/Transforms/AnyTilableFusion.cpp

+2-3
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,7 @@ verifyTilableOpTileSizesOnDimAndTileMap(RewriterBase &rewriter, Operation *op,
159159
if (isEqualConstantIntOrValue(tile, innerTile))
160160
continue;
161161
FailureOr<int64_t> cstSize = ValueBoundsConstraintSet::computeConstantBound(
162-
presburger::BoundType::UB,
163-
getValueOrCreateConstantIndexOp(rewriter, op->getLoc(), tile),
164-
/*dim=*/std::nullopt,
162+
presburger::BoundType::UB, tile,
165163
/*stopCondition=*/nullptr, /*closedUB=*/true);
166164
std::optional<int64_t> cstInnerSize = getConstantIntValue(innerTile);
167165
if (!failed(cstSize) && cstInnerSize) {
@@ -441,6 +439,7 @@ static SmallVector<Operation *> postOpFuseConsumerOfOpResult(
441439
if (failed(consAnchorList))
442440
return tiledConsumerList;
443441

442+
// sorted by userList and position in parentBlock
444443
for (auto &consAnchor : *consAnchorList) {
445444
if (alreadyTiledOps.count(consAnchor.getFusableOp()))
446445
continue;

0 commit comments

Comments
 (0)