Incorrect handling of `CallOpInterface` in `AbstractSparseBackwardDataFlowAnalysis`
Currently, data in AbstractSparseBackwardDataFlowAnalysis is considered to flow one-to-one, in order, from the operands of an op implementing CallOpInterface to the arguments of the function it is calling.
This understanding of the data flow is inaccurate. The operands of such an op that forward to the function arguments are obtained using a method provided by CallOpInterface called getArgOperands().
This means that instead of using getOperands() to get the mapping from operands to function arguments, we need to use getArgOperands() to get this mapping because not all operands necessarily forward to the function arguments and even if they do, they don't necessarily have to be in the order in which they appear in the op.
@llvm/issue-subscribers-mlir
I'm working on fixing this right now.
Fix implemented: https://reviews.llvm.org/D157261. Awaiting review.
Patch submitted. Thus, closing the issue.