We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cff2fdc commit e46942aCopy full SHA for e46942a
mlir/lib/Dialect/Bufferization/Transforms/OptimizeAllocationLiveness.cpp
@@ -148,7 +148,7 @@ struct OptimizeAllocationLiveness
148
continue;
149
150
// find the ancestor of user that is in the same block as the allocOp.
151
- auto topUser = allocOp->getBlock()->findAncestorOpInBlock(*user);
+ auto *topUser = allocOp->getBlock()->findAncestorOpInBlock(*user);
152
if (!lastUser || happensBefore(lastUser, topUser)) {
153
lastUser = topUser;
154
}
0 commit comments