Skip to content

Commit 232adee

Browse files
committed
copy-prop: Online def-use analysis for copy propagation pass
Implement an online def-use analysis for the copy propagation pass. The analysis is updated in an incremental fashion as changes are made to the MIR body instead of being recomputed from scratch after each change. The analysis is intended to be equivalent to the previous one, but it also offers a new methods to: remove specific statement, remove storage markers, and replace the uses of a local with another local or a constant, all while keeping the analysis up-to date. No functional changes intended.
1 parent 35c8b0e commit 232adee

File tree

2 files changed

+457
-269
lines changed

2 files changed

+457
-269
lines changed

0 commit comments

Comments
 (0)