Skip to content

flag to run the demand analysis a second time

There are some tickets documenting runtime bugs that can be cleaned up by running the demand analyzer (followed by a simplifier run) a second time at the end of the pipeline: #4941, #5302 (closed), #6087, #6070 (closed). #10626 ? Others?

The -flate-dmd-anal flag has been committed to HEAD (cf #7782 (closed) below).

The remaining task is to determine if -O2 should imply -flate-dmd-anal. It currently does not: late demand analysis is off by default.

See LateDmd for more info.

Edited by Simon Peyton Jones
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information