Skip to content

Commit 29179f3

Browse files
add comment.
1 parent a8fb035 commit 29179f3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,8 @@ void AbstractSparseBackwardDataFlowAnalysis::visitRegionSuccessors(
615615
MutableArrayRef<BlockArgument> arguments =
616616
successor.getSuccessor()->getArguments();
617617
for (BlockArgument argument : arguments) {
618+
// Visit property blockArgument of RegionBranchOp which isn't "control
619+
// flow block arguments". For example, the IV of a loop.
618620
if (!llvm::is_contained(inputs, argument)) {
619621
regionArguments.push_back(argument);
620622
}

0 commit comments

Comments
 (0)