Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/compiler/FLINT/ChangeLog
ViewVC logotype

Annotation of /sml/trunk/src/compiler/FLINT/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 220 - (view) (download)

1 : monnier 220 1999-03-08 Stefan Monnier <monnier@cs.yale.edu>
2 :    
3 :     * opt/split.sml (sexp): don't split HANDLE (it's incorrect).
4 :     (funeffect): embryo to detect side-effect free APPs (non-functional).
5 :     (splitThreshold): to put a cap on inlining.
6 :     (stfn): don't bother splitting inlinable TFNs.
7 :    
8 :     * main/control.sml (splitThreshold): new var.
9 :    
10 :     * opt/specialize (kBnd): be more conservative with nvars (it's too
11 :     conservative, now).
12 :    
13 :     * opt/fixfix.sml (curry): fixed bug when uncurrying cooked functions.
14 :    
15 :     * opt/fcontract.sml (fcFun): fix bug when undertaking mut-rec functions.
16 :    
17 :     * main/flintcomp.sml: added `recover' to help debugging.
18 :     updated the fold to allow extraction of Fi and return it at the end.
19 :    
20 :     * lsplit/ls-inline.sml (oneBranch): fixed the wrapper function.
21 :    
22 :     * flint/flintutil.sml (freevars): forgot to count the arg of SWITCH.
23 :    
24 :     * flint/flint.sig: added a tfkind to TFN (only inlining for now).
25 :    
26 :     * main/control.sml: new file. Moved from TopLevel/viscomp/control.sml
27 :    
28 :     1999-03-04 Stefan Monnier <monnier@cs.yale.edu>
29 :    
30 :     * kernel/ltyextern.sml (tnarrow), reps/{reify,rttype,typeoper}.sml:
31 :     flatten arguments when reifying them since the pretty-printer doesn't
32 :     know how to deal with flattened reified TFNs.
33 :    
34 :     1999-03-02 Stefan Monnier <monnier@cs.yale.edu>
35 :    
36 :     * kernel/ltyextern.sml (tnarrow), reps/{reify,rttype,typeoper}.sml:
37 :     don't unflatten arguments when reifying them.
38 :    
39 :     1999-02-28 Stefan Monnier <monnier@cs.yale.edu>
40 :    
41 :     * opt/fcontract.sml (fcEta): do the known->unknown eta-reduce if the
42 :     `known' function is not locally defined (in which case the known/unknown
43 :     distinction is pointless anyway).
44 :     (wrap): don't forget to junk dead inlinable functions.
45 :    
46 :     1999-02-26 Stefan Monnier <monnier@cs.yale.edu>
47 :    
48 :     * opt/split.sml: seriously reworked. Now splits TFNs as well.
49 :    
50 :     1999-02-25 Stefan Monnier <monnier@cs.yale.edu>
51 :    
52 :     * kernel/primop.sml (effect): removed DEREF and MAKEREF from the pure
53 :     primops.
54 :    
55 :     1999-02-24 Stefan Monnier <monnier@cs.yale.edu>
56 :    
57 :     * flint/flintutil.sml (copy): sort the type-map since {lt,tc}_subst
58 :     actually expects it to be sorted.
59 :    
60 :     1999-02-23 Stefan Monnier <monnier@cs.yale.edu>
61 :    
62 :     * opt/recover.sml (lt_nvpoly): moved to ltyextern.sml
63 :    
64 :     * kernel/ltyextern.{sml,sig} (lt_nvpoly): new function (digged from
65 :     recover.sml to build a LT_POLY in the case of named tvars.
66 :    
67 :     1999-02-20 Stefan Monnier <monnier@cs.yale.edu>
68 :    
69 :     * opt/recover.sml: removed unused depth arguments left behind from before
70 :     we switched to named tvars.
71 :     (addLty): added for the benefit of opt/split.sml
72 :    
73 :     1999-02-17 Stefan Monnier <monnier@cs.yale.edu>
74 :    
75 :     * opt/split.sml: new file. Does the lambda-splitting for cross-module
76 :     inlining. Currently in a simplified form.
77 :    
78 :     * opt/fcontract.sml (fcEta): bug with (mutually) recursive eta redexes.
79 :    
80 : monnier 203 1998-12-18 Stefan Monnier <monnier@cs.yale.edu>
81 :    
82 :     * opt/fcontract.sml: turned fcFun into a foldable function.
83 :    
84 :     1998-12-17 Stefan Monnier <monnier@cs.yale.edu>
85 :    
86 :     * opt/loopify.sml: fix (TR-ing would fail if not LR-ing also)
87 :    
88 :     1998-12-16 Stefan Monnier <monnier@cs.yale.edu>
89 :    
90 :     * opt/loopify.sml: make dropinvariant optional.
91 :    
92 :     1998-12-15 Stefan Monnier <monnier@cs.yale.edu>
93 :    
94 :     * opt/loopify.sml: drop invariant arguments in loops.
95 :    
96 :     * opt/optutils.sml (filter): curried.
97 :    
98 : monnier 202 1998-12-12 Stefan Monnier <monnier@cs.yale.edu>
99 :    
100 :     * opt/fcontract.sml (fcFun): value-specialization (turned off: useless)
101 :     (fcApp): use IH_MAYBE.
102 :    
103 :     * opt/fixfix.sml: improved the inlining heuristic by using the IH_MAYBE.
104 :    
105 :     1998-11-29 Stefan Monnier <monnier@cs.yale.edu>
106 :    
107 :     * opt/fcontract.sml (fcFun): only update the binding (after contracting
108 :     the function) if there are more functions to contract (the unusual case)
109 :    
110 :     1998-11-28 Stefan Monnier <monnier@cs.yale.edu>
111 :    
112 :     * opt/[lf]contract.sml,collect.sml: use PO.purePrimop
113 :    
114 :     * opt/fcontract.sml: generalized the BRANCH thing.
115 :     It should now be faster to detect and avoid potential code blowups while
116 :     applying to more cases. But it requires one more pass to generate the
117 :     same code quality :-(
118 :     (fcexp): straightforward split into functions
119 :     (fcLet): do the BRANCH thing after contraction (plus force an additional
120 :     contraction, so the total is 3 passes for a fairly good handling of
121 :     wrap's equality-primop compilation)
122 :     (fcLet): drop TAPP if the output is unused.
123 :    
124 :     1998-11-25 Stefan Monnier <monnier@cs.yale.edu>
125 :    
126 :     * opt/loopify.sml: improved tail-calls recognition.
127 :     Also be more careful about wrapping loops into functions (so contraction
128 :     is not needed to cleanup).
129 :    
130 :     * opt/fixfix.sml: pretend loops are smaller to increase their inlining.
131 :    
132 :     * kernel/ltyextern.sml: commented out Stats calls.
133 :    
134 :     * flint/flint.sig: changed LK_WHILE to LK_TAIL.
135 :    
136 : monnier 197 1998-11-21 Stefan Monnier <monnier@cs.yale.edu>
137 :    
138 :     * reps/rttype.sml: changes from Bratin.
139 :     (rtLexp): define the NVAR case (return the tvar as an lvar).
140 :    
141 :     * opt/[fl]contract.sml: removed the restriction on inlining at the same
142 :     deBruijn depth.
143 :    
144 :     * opt/lift.sml: new file for typelifting.
145 :    
146 :     * flint/flintutil.sml (copy): added tvar renaming.
147 :    
148 :     * flint/tvarcvt.sml: new file for named tvar <-> deBruijn conversions.
149 :    
150 : monnier 191 1998-11-19 Stefan Monnier <monnier@cs.yale.edu>
151 :    
152 :     * opt/loopify.sml: new file
153 :    
154 :     * cps/convert.sml: added code to take advantage of LK_WHILE loops.
155 :    
156 :     * opt/optutils.sml (id): removed. That was stupid.
157 :    
158 :     * opt/collect.sml: drop support for actuals (was only used for cstargs).
159 :    
160 :     * opt/lcontract.sml (lpfd): reset the inline bit to a safe value.
161 :    
162 :     * opt/fcontract.sml (cstargs): eliminated. Might reappear in a
163 :     specialization phase some day.
164 :     (inline): turned off unrolling because it's buggy.
165 :     (APP): use the new ifs, damit!
166 :    
167 : monnier 187 1998-11-11 Stefan Monnier <monnier@cs.yale.edu>
168 :    
169 : monnier 189 * opt/fcontract.sml (sval): ref svals rather than going through F.value
170 :    
171 : monnier 187 * opt/collect.sml: switched back to a read-only collect phase. Also try
172 :     to export the info to allow fcontract to circumvent some of the get calls.
173 :     (info): got rid of Transfer by using the intmap for redirection.
174 :     (unuselexp): junk the fundec part.
175 :     (unuse): return a boolean instead of calling an undertaker.
176 :    
177 : monnier 185 1998-11-09 Stefan Monnier <monnier@cs.yale.edu>
178 :    
179 :     * opt/fcontract.sml: take advantage of single-arm SWITCH (aka decon)
180 :     (SWITCH(CON)): just compare the conreps because types may differ (?)
181 :     (inlineWitness): ugly hack used to figure out if inlining happened,
182 :     in order to decide whether to keep the inline bit or not (in cfun).
183 :    
184 : monnier 184 1998-11-06 Stefan Monnier <monnier@cs.yale.edu>
185 :    
186 :     * opt/fcontract.sml: added unrolling support
187 :    
188 :     * reps/coerce.sml: replaced FK_FCT by fkfct, itself defined "sanely"
189 :    
190 :     * opt/fixfix.sml: adapted to the new fkind and introduced unrolling
191 :    
192 :     1998-11-05 Stefan Monnier <monnier@cs.yale.edu>
193 :    
194 :     * flint/flint.sig: changed fkind to have most annotations valid on
195 :     functors as well. It also adds a loopkind annotation as well as extends
196 :     the inline boolean into a three-way alternative.
197 :    
198 : monnier 164 1998-10-30 Stefan Monnier <monnier@cs.yale.edu>
199 :    
200 :     * opt/fcontract.sml (dropcstargs): replace constant args by the constant.
201 : monnier 184 (cexp): switched to a continuation passing style to implement the
202 :     let-associativity rule in a better way.
203 : monnier 164
204 : monnier 189 * opt/fixfix.sml (curry): correctly handle "impossible" cases.
205 : monnier 164
206 :     * opt/collect.sml: completely revisited: no distinction between
207 :     internal/external uses, dead-code elimination done right away. This
208 :     makes fcontract a little simpler.
209 :    
210 : monnier 163 1998-10-28 Stefan Monnier <monnier@cs.yale.edu>
211 :    
212 :     * opt/fcontract.sml (inline): do simple inlining only for non-isrec
213 :     functions (to ensure we never silently turn external uses into internal
214 :     uses) and correspondingly change the agressive inlining to inline
215 :     non-inlinable functions as long as its their last use.
216 :     (dropargs): new functions to drop unused arguments.
217 :    
218 :    
219 : monnier 162 1998-10-27 Stefan Monnier <monnier@cs.yale.edu>
220 :    
221 : monnier 163 * opt/optutils.sml: trying to reuse code between fixfix and fcontract.
222 :    
223 :     * opt/collect.sml (called): added for eta-expand.
224 :    
225 :     * opt/fcontract.sml (inline): allow single inlining of FK_FCT.
226 :    
227 : monnier 162 * lsplit/ls-inline.sml: don't call lcontract anymore.
228 :    
229 :     1998-10-26 Stefan Monnier <monnier@cs.yale.edu>
230 :    
231 :     * cps/cpstrans.sml (spillOut): fix from Zhong.
232 :    
233 :     * cpsopt/cpsopt.sml: use Control.CG.cpsopt and fold over it.
234 :    
235 :     * main/flintcomp.sml: use Control.FLINT.phases and fold over it.
236 :    
237 :     * opt/fixfix.sml (curry): use Control.FLINT.maxargs to bound the uncurrying

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0