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 a8fb035 commit 29179f3Copy full SHA for 29179f3
mlir/lib/Analysis/DataFlow/SparseAnalysis.cpp
@@ -615,6 +615,8 @@ void AbstractSparseBackwardDataFlowAnalysis::visitRegionSuccessors(
615
MutableArrayRef<BlockArgument> arguments =
616
successor.getSuccessor()->getArguments();
617
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.
620
if (!llvm::is_contained(inputs, argument)) {
621
regionArguments.push_back(argument);
622
}
0 commit comments