Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Assert that a return place is not used for indexing during integration
The inliner integrates call destination place with callee return place by remapping the local and adding extra projections as necessary. If a call destination place contains any projections (which is already possible) and a return place is used in an indexing projection (most likely doesn't happen yet) the end result would be incorrect. Add an assertion to ensure that potential issue won't go unnoticed in the presence of more sophisticated copy propagation scheme.
- Loading branch information