[Mlir-commits] [mlir] [mlir][dataflow] Drop the firstIndex argument of visitNonControlFlowArguments (PR #175210)
Matthias Springer
llvmlistbot at llvm.org
Sun Jan 25 23:47:31 PST 2026
================
@@ -186,9 +186,9 @@ void AbstractSparseForwardDataFlowAnalysis::visitBlock(Block *block) {
}
// Otherwise, we can't reason about the data-flow.
- return visitNonControlFlowArgumentsImpl(
- block->getParentOp(), RegionSuccessor(block->getParent()), ValueRange(),
- argLattices, /*firstIndex=*/0);
+ return visitNonControlFlowArgumentsImpl(block->getParentOp(),
+ RegionSuccessor(block->getParent()),
+ ValueRange(), argLattices);
----------------
matthias-springer wrote:
I believe you have to pass `block->getArguments()` instead of `ValueRange()` here.
https://github.com/llvm/llvm-project/pull/175210
More information about the Mlir-commits
mailing list