Skip to content

Commit

Permalink
[TRE][NFC] Refactor shared state into member variables.
Browse files Browse the repository at this point in the history
Separate functions that require shared state into a class to avoid
needing to pass them though multiple functions just to be available
where needed.

The main motivation for this is that we would like to remove the
limitation that accumulator values be dynamic constant, which would
require additional shared state between call eliminations in the same
function, compounding this issue.

Differential Revision: https://reviews.llvm.org/D79299
  • Loading branch information
laytonio authored and efriedma-quic committed May 8, 2020
1 parent 3977206 commit 23cbea9
Showing 1 changed file with 171 additions and 125 deletions.

0 comments on commit 23cbea9

Please sign in to comment.