summaryrefslogtreecommitdiff
path: root/src/passes/pass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/passes/pass.cpp')
-rw-r--r--src/passes/pass.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/passes/pass.cpp b/src/passes/pass.cpp
index 4b023a46e..78717568e 100644
--- a/src/passes/pass.cpp
+++ b/src/passes/pass.cpp
@@ -285,6 +285,10 @@ void PassRegistry::registerPasses() {
registerPass("rereloop",
"re-optimize control flow using the relooper algorithm",
createReReloopPass);
+ registerPass("replace-stack-pointer",
+ "Replace llvm-generated stack pointer global with calls with "
+ "imported functions.",
+ createReplaceStackPointerPass);
registerPass(
"rse", "remove redundant local.sets", createRedundantSetEliminationPass);
registerPass("roundtrip",