summaryrefslogtreecommitdiff
path: root/module/language/cps/optimize.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/language/cps/optimize.scm')
-rw-r--r--module/language/cps/optimize.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/module/language/cps/optimize.scm b/module/language/cps/optimize.scm
index 571d5ffd8..7d4dc2fe2 100644
--- a/module/language/cps/optimize.scm
+++ b/module/language/cps/optimize.scm
@@ -37,6 +37,7 @@
#:use-module (language cps self-references)
#:use-module (language cps simplify)
#:use-module (language cps specialize-primcalls)
+ #:use-module (language cps specialize-numbers)
#:use-module (language cps type-fold)
#:use-module (language cps verify)
#:export (optimize-higher-order-cps
@@ -104,6 +105,7 @@
(simplify #:simplify? #t))
(define-optimizer optimize-first-order-cps
+ (specialize-numbers #:specialize-numbers? #t)
(hoist-loop-invariant-code #:licm? #t)
(eliminate-common-subexpressions #:cse? #t)
(eliminate-dead-code #:eliminate-dead-code? #t)
@@ -123,5 +125,6 @@
#:cse? #t
#:type-fold? #t
#:resolve-self-references? #t
+ #:specialize-numbers? #t
#:licm? #t
#:rotate-loops? #t))