Skip to content
Snippets Groups Projects
Commit c8aeb4e3 authored by Sebastian Graf's avatar Sebastian Graf
Browse files

DmdAnal: Look through unfoldings of DataCon wrappers (#22241)

Previously, the demand signature we computed upfront for a DataCon wrapper

lacked boxity information and was much less precise than the demand transformer

for the DataCon worker.

In this patch we adopt the solution to look through unfoldings of DataCon

wrappers during Demand Analysis, but still attach a demand signature for other

passes such as the Simplifier.

See `Note [DmdAnal for DataCon wrappers]` for more details.

Fixes #22241.
parent 22096652
No related branches found
No related tags found
1 merge request!9104DmdAnal: Look through unfolding of DataCon wrappers (#22241)
Pipeline #57896 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment