mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
This could be combined with ValueUseDefWalker if the latter is refactored to classsify instructions by projections and aggegation (which always forward) vs. other arbitrary hard-coded instruction types. It would also need to limit the walk to real operands (which are always forwarded). Then this walker can call into the default walk for projections and track the projection path. The current implementation is however simpler and more efficient.