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 668 - (view) (download)

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