diff --git a/libsolidity/interface/OptimiserSettings.h b/libsolidity/interface/OptimiserSettings.h index a1d6bbf55..3df99325e 100644 --- a/libsolidity/interface/OptimiserSettings.h +++ b/libsolidity/interface/OptimiserSettings.h @@ -45,7 +45,7 @@ struct OptimiserSettings "xarulrul" // Prune a bit more in SSA "xarrcL" // Turn into SSA again and simplify "gvif" // Run full inliner - "CTUcarrLsTOtfDncarrIulc" // SSA plus simplify + "CTUcarrLsTFOtfDncarrIulc" // SSA plus simplify "]" "jmuljuljul VcTOcul jmul"; // Make source short and pretty diff --git a/libyul/optimiser/Suite.cpp b/libyul/optimiser/Suite.cpp index 3f59e89e6..89dff11ab 100644 --- a/libyul/optimiser/Suite.cpp +++ b/libyul/optimiser/Suite.cpp @@ -41,6 +41,7 @@ #include #include #include +#include #include #include #include @@ -192,6 +193,7 @@ map> const& OptimiserSuite::allSteps() FullInliner, FunctionGrouper, FunctionHoister, + FunctionSpecializer, LiteralRematerialiser, LoadResolver, LoopInvariantCodeMotion, @@ -231,6 +233,7 @@ map const& OptimiserSuite::stepNameToAbbreviationMap() {FullInliner::name, 'i'}, {FunctionGrouper::name, 'g'}, {FunctionHoister::name, 'h'}, + {FunctionSpecializer::name, 'F'}, {LiteralRematerialiser::name, 'T'}, {LoadResolver::name, 'L'}, {LoopInvariantCodeMotion::name, 'M'},