Skip to content

Commit

Permalink
Merge branch 'ir-builder-breakability' into ir-builder-name-hints
Browse files Browse the repository at this point in the history
  • Loading branch information
tlively committed Nov 18, 2024
2 parents 5b2c76f + f4695a2 commit 2006320
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/passes/Outlining.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,10 @@ struct Outlining : public Pass {
// the outlining lit tests far more readable.
moveOutlinedFunctions(module, substrings.size());

// Because we visit control flow in an odd order, IRBuilder is not able to
// properly track branches, so it may not have finalized blocks with the
// correct types. ReFinalize now to fix any issues.
// Because we visit control flow in stringified order rather than normal
// postorder, IRBuilder is not able to properly track branches, so it may
// not have finalized blocks with the correct types. ReFinalize now to fix
// any issues.
PassRunner runner(getPassRunner());
runner.add(std::make_unique<ReFinalize>());
runner.run();
Expand Down

0 comments on commit 2006320

Please sign in to comment.