Skip to content

Commit

Permalink
[RTG][Elaboration] Support sequences (#7969)
Browse files Browse the repository at this point in the history
* Simplify materializer to work on only one basic block
* Remove unused addWorklist argument and use a class field instead
* Because the way invocations are elaborated has changed, we don't need the worklist anymore within sequences or tests (we can just iterate over the operations since it's not a graph region), this is a big performance benefit in large tests/sequences.
* Do a BFS over the sequence invocation hierarchy such that callees are only elaborated when all parents are elaborated (because only the `sequence_closure` operation should fix the randomization within a sequence, thus they create a clone before elaborating the referenced sequence)
* Inline all sequences and remove them.
  • Loading branch information
maerhart authored Jan 14, 2025
1 parent 75473ab commit bbef1fa
Show file tree
Hide file tree
Showing 2 changed files with 386 additions and 125 deletions.
Loading

0 comments on commit bbef1fa

Please sign in to comment.