@@ -85,6 +85,7 @@ void PassRegistry::registerPasses() {
8585 registerPass (" optimize-instructions" , " optimizes instruction combinations" , createOptimizeInstructionsPass);
8686 registerPass (" pick-load-signs" , " pick load signs based on their uses" , createPickLoadSignsPass);
8787 registerPass (" post-emscripten" , " miscellaneous optimizations for Emscripten-generated code" , createPostEmscriptenPass);
88+ registerPass (" precompute" , " computes compile-time evaluatable expressions" , createPrecomputePass);
8889 registerPass (" print" , " print in s-expression format" , createPrinterPass);
8990 registerPass (" print-minified" , " print in minified s-expression format" , createMinifiedPrinterPass);
9091 registerPass (" print-full" , " print in full s-expression format" , createFullPrinterPass);
@@ -103,8 +104,8 @@ void PassRegistry::registerPasses() {
103104 registerPass (" simplify-locals-nostructure" , " miscellaneous locals-related optimizations" , createSimplifyLocalsNoStructurePass);
104105 registerPass (" simplify-locals-notee-nostructure" , " miscellaneous locals-related optimizations" , createSimplifyLocalsNoTeeNoStructurePass);
105106 registerPass (" ssa" , " ssa-ify variables so that they have a single assignment" , createSSAifyPass);
107+ registerPass (" untee" , " removes tee_locals, replacing them with sets and gets" , createUnteePass);
106108 registerPass (" vacuum" , " removes obviously unneeded code" , createVacuumPass);
107- registerPass (" precompute" , " computes compile-time evaluatable expressions" , createPrecomputePass);
108109// registerPass("lower-i64", "lowers i64 into pairs of i32s", createLowerInt64Pass);
109110}
110111
0 commit comments