[m-dev.] for review: make tailcall loops an MLDS transformation
Fergus Henderson
fjh at cs.mu.OZ.AU
Thu Aug 24 15:38:38 AEST 2000
On 24-Aug-2000, Tyson Dowd <trd at cs.mu.OZ.AU> wrote:
> On 24-Aug-2000, Fergus Henderson <fjh at cs.mu.OZ.AU> wrote:
> >
> > The user-level name for the `optimize' option is `--llds-optimize'.
> > If you want to use the same internal option for enabling/disabling MLDS
> > optimizations, that is OK, but if so you should allow `--mlds-optimize'
> > as a user-level name for the option.
>
> Good idea.
>
> --- compiler/options.m 2000/08/10 05:11:01 1.286
> +++ compiler/options.m 2000/08/24 05:28:44
> @@ -1070,6 +1070,12 @@
> long_option("follow-vars", follow_vars).
> long_option("allow-hijacks", allow_hijacks).
>
> +% MLDS optimizations
> +% Option `optimize' is used for both MLDS and LLDS optimizations, but since
> +% you can't use both at the same time it doesn't really matter.
> +long_option("mlds-optimize", optimize).
> +long_option("mlds-optimise", optimize).
That's good, but it should be documented in the help message and the
user guide.
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3 | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to: mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions: mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------
More information about the developers
mailing list