Skip to content

Commit

Permalink
copy-prop: Online def-use analysis for copy propagation pass
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
tmiasko committed Sep 15, 2020
1 parent 35c8b0e commit 232adee
Show file tree
Hide file tree
Showing 2 changed files with 457 additions and 269 deletions.
Loading

0 comments on commit 232adee

Please sign in to comment.