Skip to content

Commit 0fc71ce

Browse files
committed
refine
1 parent 05dd649 commit 0fc71ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Affine/Transforms/LoopFusion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ static bool isEscapingMemref(Value memref, Block *block) {
205205
// (e.g., call ops, alias creating ops, etc.).
206206
return llvm::any_of(memref.getUsers(), [&](Operation *user) {
207207
// Ignore users outside of `block`.
208-
auto ancestorOp = block->getParent()->findAncestorOpInRegion(*user);
208+
Operation *ancestorOp = block->getParent()->findAncestorOpInRegion(*user);
209209
if (!ancestorOp)
210210
return true;
211211
if (ancestorOp->getBlock() != block)

0 commit comments

Comments
 (0)