From f4695a20dea351c7e32f643900e64b28158f66ff Mon Sep 17 00:00:00 2001 From: Thomas Lively Date: Mon, 18 Nov 2024 14:44:57 -0800 Subject: [PATCH] improve comment --- src/passes/Outlining.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/passes/Outlining.cpp b/src/passes/Outlining.cpp index 85abb57e422..b86e6cd17e1 100644 --- a/src/passes/Outlining.cpp +++ b/src/passes/Outlining.cpp @@ -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()); runner.run();