flag to run the demand analysis a second time
|Reported by:||nfrisby||Owned by:||nfrisby|
|Type of failure:||None/Unknown||Difficulty:||Unknown|
|Test Case:||Blocked By:|
|Blocking:||Related Tickets:||#4941, #5302, #6087, #4962|
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.