flag to run the demand analysis a second time
|Reported by:||nfrisby||Owned by:||nfrisby|
|Type of failure:||None/Unknown||Test Case:|
|Related Tickets:||#4941, #5302, #6087, #4962||Differential Revisions:|
Description (last modified by nfrisby)
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, #6087. #6070 ? Others?
The -flate-dmd-anal flag has been committed to HEAD (cf comment:10 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.