diff options
author | Andy Wingo <wingo@pobox.com> | 2015-10-29 09:15:38 +0000 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2015-11-11 10:21:43 +0100 |
commit | 12e9e2148ec43dc0cebc4bea94cdfebfc4261263 (patch) | |
tree | dec5337675729fec662dbafebd4a625509f573aa /bootstrap | |
parent | 3b4941f3a9af0b656820ea613a4991323e9eae90 (diff) |
Add new pass to specialize "add" into "fadd" where possible
* module/language/cps/specialize-numbers.scm: New pass, to turn "add"
into "fadd", and similarly for sub, mul, and div.
* module/language/cps/optimize.scm:
* module/Makefile.am:
* bootstrap/Makefile.am: Wire up the new pass.
Diffstat (limited to 'bootstrap')
-rw-r--r-- | bootstrap/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am index 093ee8540..2d9caac38 100644 --- a/bootstrap/Makefile.am +++ b/bootstrap/Makefile.am @@ -99,6 +99,7 @@ SOURCES = \ language/cps/slot-allocation.scm \ language/cps/spec.scm \ language/cps/specialize-primcalls.scm \ + language/cps/specialize-numbers.scm \ language/cps/split-rec.scm \ language/cps/type-checks.scm \ language/cps/type-fold.scm \ |